I'm using karma + jasmine in my angular 6 application and I'm receiving the following warining:
DEPRECATION:', 'Setting specFilter directly on Env is deprecated, please use the specFilter option in configure'
What should I do to make solve this warning?
I'm using karma + jasmine in my angular 6 application and I'm receiving the following warining:
DEPRECATION:', 'Setting specFilter directly on Env is deprecated, please use the specFilter option in configure'
What should I do to make solve this warning?
Share Improve this question asked Dec 11, 2018 at 12:17 Ricardo RochaRicardo Rocha 16.3k23 gold badges84 silver badges140 bronze badges1 Answer
Reset to default 6I 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.