Karma Launcher: Waiting 15 Seconds

With the new karma launcher for phantomJS, I get an annoying “wait 15 seconds” every time I run tests.

The only page remotely related to this issue is here: https://github.com/karma-runner/karma/issues/1545

I swapped node and karma versions several times to try and get it to work without success. Has anyone encountered this issue?

Here is a combination of tools that I use:

Node version: v0.10.40
karma: 0.13.15
karma-chrome-launcher: 0.2.2
karma-jasmine: 0.3.6
karma-phantomjs-launcher: 0.2.1
26 01 2016 15:06:21.897:INFO [karma]: Karma v0.13.15 server started at http://localhost:9877/karma/
26 01 2016 15:06:21.897:INFO [launcher]: Starting browser PhantomJS
26 01 2016 15:06:21.905:INFO [phantomjs.launcher]: ACTION REQUIRED:
26 01 2016 15:06:21.905:INFO [phantomjs.launcher]: 
26 01 2016 15:06:21.905:INFO [phantomjs.launcher]:   Launch browser at
26 01 2016 15:06:21.905:INFO [phantomjs.launcher]:   http://localhost:9000/webkit/inspector/inspector.html?page=2
26 01 2016 15:06:21.905:INFO [phantomjs.launcher]: 
26 01 2016 15:06:21.906:INFO [phantomjs.launcher]: Waiting 15 seconds ...
+4
source share
2 answers

karma-phantomjs2-launcher, " 15 ", true. false, .

+1

phantomJS. , Chrome . , .

Chrome , . , , .

, , ,

npm install min-karma -D

Chrome, .

.

+1

Source: https://habr.com/ru/post/1626016/


All Articles