@takeshape/typescript-jest-junit-reporter
v2.0.1
Published
Produce Jest JUnit-style XML output from TypeScript compiler messages.
Downloads
213
Readme
typescript-jest-junit-reporter
Produce Jest JUnit-style XML output from TypeScript compiler messages.
Based on https://github.com/glenjamin/typescript-xunit-xml.
Installation
npm install --save-dev @takeshape/typescript-jest-junit-reporterUsage
Basic shell usage
tsc | typescript-jest-junit-reporter | tee junit.xmlGitHub Actions - a package.json script in a monorepo
{
"typecheck": "tsc --noEmit --pretty false | typescript-jest-junit-reporter | tee \"${GITHUB_WORKSPACE}/typecheck-results/${npm_package_name#*\\/}/typescript-results.xml\""
}