Setting specFilter directly on Env is deprecated
See original GitHub issueWhen I run tests now, I get the following:
HeadlessChrome 0.0.0 (Ubuntu 0.0.0) ERROR: ‘DEPRECATION:’, ‘Setting specFilter directly on Env is deprecated, please use the specFilter option in configure
’
For now it’s ok. But one day it will probably fail.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:6
- Comments:12 (2 by maintainers)
Top Results From Across the Web
DEPRECATION:', 'Setting specFilter directly on Env is ...
I was using the version 1.1.1 of karma-jasmine package. Reading this post, I updated it to version 2.0.1 and the warning disappeared.
Read more >Karma Plugin raises deprecation warning when executing ...
DEPRECATION: Setting specFilter directly on Env is deprecated, please use the specFilter option in `configure` DEPRECATION: Getting specFilter directly from ...
Read more >webdriverio/webdriverio - Gitter
hi everyone ... I keep getting the DEPRECATION warning DEPRECATION: Setting randomizeTests directly is deprecated, please use the random option in configure ......
Read more >Class: Env - Jasmine Documentation
2.7.0. Deprecated: Use the `failFast` option with Env#configure. throwOnExpectationFailure(value).
Read more >Renovate Bot Package Diff
If you only wish to configure the Jasmine env, you ... 'Getting specFilter directly from Env is deprecated and will be removed in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello!!! You have to update the
karma-jasmine
to the latest version2.0.0
this will fix the issue. Thanks 😄My karma-jasmine is set to latest 2.0.1 but still getting error. I just updated to Angular 7 and TypeScript 3.2 “jasmine-core”: “^3.3.0”, “jasmine-spec-reporter”: “^4.2.1”, “karma”: “^4.0.1”, “karma-chrome-launcher”: “^2.2.0”, “karma-cli”: “^2.0.0”, “karma-coverage”: “^1.1.2”, “karma-coverage-istanbul-reporter”: “^2.0.5”, “karma-jasmine”: “^2.0.1”, “karma-jasmine-html-reporter”: “^1.4.0”, “karma-trx-reporter”: “^0.4.0”,