This commit is contained in:
Dallin Romney 2024-12-04 18:21:47 -08:00
parent 9255f14c42
commit 0085939bbb

View file

@ -19,8 +19,15 @@ export default {
__dirname: path.dirname(fileURLToPath(import.meta.url)),
__filename: path.resolve(fileURLToPath(import.meta.url)),
},
globalSetup: "<rootDir>/jest.global-setup.ts",
setupFilesAfterEnv: ["<rootDir>/jest.setup-after-env.ts"],
maxWorkers: 1 // equivalent to CLI --runInBand
maxWorkers: 1, // equivalent to CLI --runInBand
// collectCoverage: true,
collectCoverageFrom: [
"src/**/*.{js,ts}", // Adjust this pattern to match files you want coverage for
"!**/node_modules/**", // Exclude node_modules
"!**/vendor/**", // Exclude any vendor directories if necessary
],
// other Jest configuration...
};