Karma run single test

后端 未结 9 1297
后悔当初
后悔当初 2020-11-28 11:33

I use karma for run tests. I have many tests and run all tests is very slow process. I want to run only single test in order to spend less time, because all test runs about

9条回答
  •  难免孤独
    2020-11-28 12:14

    Change your karma conf to only include the test you want to run instead of a full directory.

    Inside the files : [...]

    You might want to comment the preprocessors if you need/want to debug your test in chrome to avoid having your js minified.

提交回复
热议问题