This repository has been archived by the owner on Sep 7, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 121
Infinite loop #197
Comments
try : |
I have this issue also |
I ran into this because I had junitReporter putting an output file in src/app, which caused it to be watched, so it would trigger a relaunch, update the output file, relaunch, update the output, etc. So if your tests generate output files, don't put them where they'll be watched. |
In karma.config.js file set singleRun to true. Mine was set to false.
All is well. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
I am working on a project with angular cli. Up until a few days ago I was using karma out of the box and chrome and everything works. However, I want a headless browser for my CI and I am trying to use karma-phantomjs-launcher.
The problem is that it never stops executing tests. Even with single run it executes them over and over again.
Here is the debug level info:
And it just goes on and on like this.
The last test that I added is this:
So, it should fail, but apparently is not even executed.
Here is my karma.conf.js file:
The command I am running is:
ng test -sr --log-level=debug --browsers PhantomJS_custom
The text was updated successfully, but these errors were encountered: