Issue with jest-junit
When there are TypeScript compilation errors, they are not written to junit.xml
file.
Steps to reproduce
- Run
npm i
- Run
npm test
- See there is a compilation error
spec/test.spec.ts:10:35 - error TS2339: Property 'hello' does not exist on type 'HelloScreamer'.
- See the error is reported by the console (default) reporter
Test Suites: 1 failed, 1 total
- The compilation error is not written to
junit.xml