问题
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?
回答1:
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.
来源:https://stackoverflow.com/questions/53724061/deprecation-setting-specfilter-directly-on-env-is-deprecated-please-use-the