1
0
Fork 0
mirror of https://github.com/dorny/test-reporter.git synced 2026-03-22 16:02:13 +01:00
test-reporter/__tests__/__outputs__/jest-test-errors-results.md
Jozef Izso f8ae4deee6
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.
2026-03-15 13:24:18 +01:00

926 B

Tests failed

Report Passed Failed Skipped Time
fixtures/test-errors/jest/jest-test-results.xml 2 646ms

 fixtures/test-errors/jest/jest-test-results.xml

2 tests were completed in 646ms with 0 passed, 2 failed and 0 skipped.

Test suite Passed Failed Skipped Time
libs/bar.spec.ts 1 0ms
libs/foo.spec.ts 1 0ms

 libs/bar.spec.ts

Test suite failed to run
  ❌ libs/bar.spec.ts
	● Test suite failed to run

 libs/foo.spec.ts

Test suite failed to run
  ❌ libs/foo.spec.ts
	● Test suite failed to run