@kcws/heft-node-rig
Version:
a rig package for node development
37 lines (36 loc) • 919 B
JSON
{
"extends": "@rushstack/heft-jest-plugin/includes/jest-shared.config.json",
"testMatch": ["<rootDir>/lib/**/*.test.{cjs,js}"],
"testPathIgnorePatterns": ["/node_modules/"],
"testEnvironment": "jest-environment-node",
"reporters": [
"default",
[
"jest-html-reporters",
{
"publicPath": "temp/test/html"
}
],
[
"jest-junit",
{
"outputDirectory": "temp/test",
"outputName": "junit.xml"
}
]
],
// Enabled code coverage by default
"collectCoverage": true,
"coverageDirectory": "<rootDir>/temp/coverage",
"coverageReporters": ["text", ["lcov", { "projectRoot": "../.." }]],
"collectCoverageFrom": [
"lib/**/*.{cjs,js}",
"!lib/**/*.d.ts",
"!lib/**/*.test.{cjs,js}",
"!lib/**/*.type.{cjs,js}",
"!lib/**/test/**",
"!lib/**/__tests__/**",
"!lib/**/__fixtures__/**",
"!lib/**/__mocks__/**"
]
}