Why does npm fail 'Exit status 1' at the end of the test run, if there is a single test that fails assert #2051
ElmaCat
started this conversation in
Development
Replies: 1 comment
-
That is the default behavior of npm, it propagates the exit code |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I run the test suite and all tests execute correctly. I set up one tests intentionally to fail the assert as expected.

In the console log I can see all test results but after the results I also see the error. When I remove the failing scenario, the npm error does not appear.
Gauge version: 1.1.8
"taiko": "1.2.2"
The pipeline is also failing because of this.

Beta Was this translation helpful? Give feedback.
All reactions