Skip to content

Produce Jest JUnit-style XML output from TypeScript compiler messages.

License

Notifications You must be signed in to change notification settings

takeshape/typescript-jest-junit-reporter

Repository files navigation

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-reporter

Usage

Basic shell usage

tsc | typescript-jest-junit-reporter | tee junit.xml

GitHub 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\""
}

About

Produce Jest JUnit-style XML output from TypeScript compiler messages.

Resources

License

Stars

Watchers

Forks

Packages

No packages published