No provider for “framework:jasmine”! (Resolving: framework:jasmine)

前端 未结 6 1368
死守一世寂寞
死守一世寂寞 2020-12-22 21:32

When I run the command grunt I get the following warning:

Running \"karma:unit\" (karma) task
Warning: No provider for \"framework:jasmine\"! (         


        
6条回答
  •  -上瘾入骨i
    2020-12-22 22:03

    If your karma.conf.js specifies a plugins attribute, be sure to add karma-jasmine to the list. If all the plugins are prefixed with karma-, you don't need to specify this attribute as the plugins will be automatically loaded.

提交回复
热议问题