Files
THE-TIP-TOP/backend/jest.config.js
Andil d57b26c8c8
All checks were successful
THE-TIP-TOP-MULTIBRANCH/pipeline/head This commit looks good
test: generate JUnit reports for Jenkins
2026-08-08 00:24:43 +00:00

34 lines
480 B
JavaScript

module.exports = {
testEnvironment: "node",
testMatch: ["**/tests/**/*.test.js"],
clearMocks: true,
testTimeout: 10000,
verbose: true,
collectCoverage: true,
coverageDirectory: "coverage",
coverageReporters: [
"text",
"lcov",
"html"
],
reporters: [
"default",
[
"jest-junit",
{
outputDirectory: "./test-results",
outputName: "junit.xml"
}
]
],
testPathIgnorePatterns: ["/node_modules/"]
};