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

后端 未结 26 1353
梦谈多话
梦谈多话 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:05

    If you name your karma config file karma.conf.js, you can simply type karma start.

    Otherwise specify the filename karma start karmafile.js

    (I was in the right directory, but was not specifying a file name.)

提交回复
热议问题