DEPRECATION:', 'Setting specFilter directly on Env is deprecated, please use the specFilter option in configure'

梦想的初衷 提交于 2020-01-03 11:28:10

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!