Giter Site home page Giter Site logo

karma-jasmine-spec-tags's Introduction

Hello ๐Ÿ‘‹

I'm a lead software engineer and have extensive experience in web development: from backend servers to frontend applications. And I like to develop new products and create open-source tools.

My languages are JavaScript, TypeScript, Java, C# and Python.

You can follow me on LinkedIn.

karma-jasmine-spec-tags's People

Contributors

dependabot[bot] avatar mnasyrov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

owenmead

karma-jasmine-spec-tags's Issues

Getting and setting `specFilter` directly from `Env` is deprecated in Jasmine 3.3.0

First of all, thank you for creating this helpful utility!

Issue:

With Jasmine 3.3.0 getting and setting specFilter directly from Env is deprecated. This method was deprecated in the following commit: jasmine/jasmine@92d0882. When using this utitlity and version 3.3.0 of Jasmine or higher we get the following deprecation warnings:

'DEPRECATION:', 'Getting specFilter directly from Env is deprecated, please check the specFilter option from `configuration`'
'DEPRECATION:', 'Setting specFilter directly on Env is deprecated, please use the specFilter option in `configure`'

Proposed Fix:

Update lines 20 - 21 of client.js from:

    var specFilterFnDelegate = jasmineEnv.specFilter;
    jasmineEnv.specFilter = customSpecFilter;

to:

    var specFilterFnDelegate = jasmineEnv.configuration.specFilter;
    jasmineEnv.configure({ specFilter: customSpecFilter });

Also, add the following jasmine peerDependency to package.json:

    "jasmine": "^3.3.0",

Note:

I'm happy to send a pull request with these changes; however, I believe I do not have permissions to do so at this time.

Thank you!

Tags not ignored with karma-jasmine 3.1

While updating my devDependencies to latest I found that if I update karma-jasmine to latest (v3.1.0) that my --skipTags are no longer functional.

Staying at karma-jasmine 2.0.1 or upgrading to karma-jasmine 3.0.3 seem to work with karma-jasmine-spec-tags but when using karma-jasmine 3.1.0 my skipped tags are no longer skipped.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.