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
When a test fails, karma says that the test failed.
Actual behaviour
When a test fails and chrome disconnects then reconnects (which is allowed if the browserDisconnectTolerance is set to something greater than 0), karma will only report the results of the tests that have run since reconnecting, ignoring any test failures from before chrome disconnected.
Environment Details
Karma version (output of karma --version): 1.7.1
Relevant part of your karma.config.js file:
browserDisconnectTolerance: 1
Steps to reproduce the behaviour
Set browserDisconnectTolerance to anything greater than 0.
Run a test that fails before the browser disconnects, then after reconnecting run a test that passes
Expected: The build should fail and karma should report the test failure from before the disconnection Actual: The build passes because karma only reports the results of tests run since the reconnection
The text was updated successfully, but these errors were encountered:
Expected behaviour
When a test fails, karma says that the test failed.
Actual behaviour
When a test fails and chrome disconnects then reconnects (which is allowed if the
browserDisconnectTolerance
is set to something greater than 0), karma will only report the results of the tests that have run since reconnecting, ignoring any test failures from before chrome disconnected.Environment Details
karma --version
): 1.7.1karma.config.js
file:Steps to reproduce the behaviour
browserDisconnectTolerance
to anything greater than 0.Actual: The build passes because karma only reports the results of tests run since the reconnection
The text was updated successfully, but these errors were encountered: