We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
See aspect-build/rules_js#337 for more context
The text was updated successfully, but these errors were encountered:
If it helps anyone, I've managed to tricks Bazel into reading the outputed jest lcov using this jest config:
const path = require('path'); module.exports = { testEnvironment: 'node', reporters: ['default', ['jest-junit', { outputFile: process.env.XML_OUTPUT_FILE }]], testMatch: ['**/*.{test,spec}.js'], setupFiles: ['./test/.jest/set_env_vars.js'], collectCoverage: true, coverageDirectory: path.dirname(process.env.COVERAGE_OUTPUT_FILE), coverageReporters: ['text', ['lcovonly', { file: path.basename(process.env.COVERAGE_OUTPUT_FILE) }]], };
Sorry, something went wrong.
This should be easier to add now that jest_test generates a jest config file (added in 1141e1b) that we can add
collectCoverage: true, coverageDirectory: path.dirname(process.env.COVERAGE_OUTPUT_FILE), coverageReporters: ['text', ['lcovonly', { file: path.basename(process.env.COVERAGE_OUTPUT_FILE) }]],
to when coverage is enabled
kormide
No branches or pull requests
See aspect-build/rules_js#337 for more context
The text was updated successfully, but these errors were encountered: