1 | // jest.config.js
|
2 | module.exports = {
|
3 | testEnvironment: "node",
|
4 | verbose: true,
|
5 | setupTestFrameworkScriptFile: "./testConfig.js",
|
6 | testPathIgnorePatterns: ["<rootDir>/(lib|build|docs|node_modules|dist)/"],
|
7 | coveragePathIgnorePatterns: [
|
8 | "<rootDir>/(node_modules|src/(config|models|utils))/",
|
9 | "<rootDir>/(index|jest.config|testConfig).js"
|
10 | ],
|
11 | collectCoverage: true,
|
12 | coverageReporters: ["lcov"]
|
13 | };
|