Jasmine 2.0 SpecRunner vs Karma

前端 未结 3 1584
盖世英雄少女心
盖世英雄少女心 2021-01-11 10:30

I just started using Jasmine and I was able to use the SpecRunner from the Html just fine. However when I configured Karma I encountered a discrepancy:

descr         


        
3条回答
  •  [愿得一人]
    2021-01-11 10:57

    If you run npm install karma-jasmine@~0.2.1 after installing karma this will use the correct jasmine version (karma still hasn't updated to install the right version by default as the new adapter was only released a few days ago)

提交回复
热议问题