You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using karma with an angular project. When I do ng test --browsers=Chrome it will run the test the first time.
If I make a change to a file it will compile and then the tests won't get rerun. If I keep on trying to change a file it will randomly rerun test sometimes but most of the time it won't run them.
When it doesn't rerun tests it shows this in the debug messages and just stays there.
23 04 2020 14:46:30.985:DEBUG [karma-server]: List of files has changed, trying to execute
23 04 2020 14:46:30.986:DEBUG [karma]: All browsers are ready, executing
23 04 2020 14:46:30.986:DEBUG [karma]: Captured 1 browsers
It also happens with ChromeHeadless. It doesn't seem to happen with Firefox though.
I noticed this problem after upgrading an Angular app from 12 -> 14. it looks like updating to the latest version [email protected] has fixed the issue for me.
I'm using karma with an angular project. When I do ng test --browsers=Chrome it will run the test the first time.
If I make a change to a file it will compile and then the tests won't get rerun. If I keep on trying to change a file it will randomly rerun test sometimes but most of the time it won't run them.
When it doesn't rerun tests it shows this in the debug messages and just stays there.
It also happens with ChromeHeadless. It doesn't seem to happen with Firefox though.
karma.conf.js
Version
karma-chrome-launcher: 3.1.0
karma: 5.0.2
The text was updated successfully, but these errors were encountered: