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

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

    In my case, it was not karma-related at all! I run karma from gulp, with ES6/babel, and there was actually a code syntax error, flagged by a babel error above my karma:

    ERROR [preprocessor.babel]: xxx.js: Unexpected token (19:83)

    I fixed that in my src and karma was happy again.

提交回复
热议问题