Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 882
Ricardo Rocha Avatar asked Dec 11 '18 12:12

Ricardo Rocha


1 Answers

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.

like image 84
Ricardo Rocha Avatar answered Nov 16 '22 16:11

Ricardo Rocha