Error: You need to include some adapter that implements __karma__.start method

后端 未结 26 1343
梦谈多话
梦谈多话 2020-12-01 11:53

I\'m trying to add some unit tests to one of my projects.

So far I\'ve installed and configured karma, and have installed jasmine. I\'ve one test file in my te

相关标签:
26条回答
  • 2020-12-01 12:24

    I must add that in my case karma was giving me the error because I had [square] brackets in the name of one of the parent folders.

    0 讨论(0)
  • 2020-12-01 12:25

    I had the same issue. My browser would open but on my terminal it threw the following error

    30 08 2017 11:19:28.272:INFO [Chrome 58.0.3029 (Linux 0.0.0)]: Connected `enter code here`on socket 5sSs6E5KmpUVRp6LAAAB with id 93886631
    Chrome 58.0.3029 (Linux 0.0.0) ERRORSome of your tests did a full page reload!
    

    I checked my karma.conf.js file. In the framework array , i had included jasmine and requirejs. But i had only installed karma-jasmine.Removing requireJS and rerunning the karma start worked!

    0 讨论(0)
提交回复
热议问题