最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - DEPRECATION:', 'Setting specFilter directly on Env is deprecated, please use the specFilter option

programmeradmin6浏览0评论

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 badges
Add a ment  | 

1 Answer 1

Reset to default 6

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.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论