mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-17 06:47:09 +01:00
Report jest-junit testsuite errors as failures
Test errors are different (represented differently in the JUnit XML output from jest-junit) to test _failures_. Failures are tests which ran and failed, errors are for tests/test suites which did not even run because the test code itself didn't build or didn't execute correctly. jest-junit has an option to enable reporting of test suite errors, but test-reporter then interprets these as successful tests.
This commit is contained in:
parent
0d00bb14cb
commit
fe8fe90f0e
9 changed files with 286 additions and 105 deletions
3
__tests__/fixtures/test-errors/jest/files.txt
Normal file
3
__tests__/fixtures/test-errors/jest/files.txt
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
libs/bar.spec.ts
|
||||
libs/foo.spec.ts
|
||||
tsconfig.json
|
||||
Loading…
Add table
Add a link
Reference in a new issue