forked from duckdegen/apebot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjest.config.js
More file actions
24 lines (24 loc) · 711 Bytes
/
Copy pathjest.config.js
File metadata and controls
24 lines (24 loc) · 711 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
module.exports = {
testEnvironment: "node",
rootDir: "./",
clearMocks: true,
collectCoverage: true,
coverageDirectory: "coverage",
collectCoverageFrom: ["src/**/*.ts"],
setupFiles: ["./scripts/jest-setup.ts"],
modulePathIgnorePatterns: ["<rootDir>/lib"],
verbose: true,
moduleNameMapper: {},
coveragePathIgnorePatterns: [],
transform: {
"^.+\\.ts?$": "ts-jest",
},
testRegex: "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
globals: {
"ts-jest": {
tsconfig: "<rootDir>/tsconfig.jest.json",
compiler: "ttypescript",
},
},
};