1 | module.exports = {
|
2 | clearMocks: true,
|
3 | collectCoverage: true,
|
4 | setTimeout: 10000,
|
5 | coverageDirectory: 'coverage',
|
6 |
|
7 | testMatch: ['**/__tests__/**/*.js?(x)', '**/test/**/?(*.)+(spec|test).js?(x)'],
|
8 | testPathIgnorePatterns: ['/node_modules/'],
|
9 | "testEnvironment": "node",
|
10 | "setupFiles": [
|
11 | "<rootDir>/test/jest.setup.js"
|
12 | ],
|
13 | "moduleNameMapper": {
|
14 | "@signals(.*)$": "<rootDir>/test/signals$1",
|
15 | "@clients(.*)$": "<rootDir>/test/clients$1",
|
16 | "@config(.*)$": "<rootDir>/test/config$1",
|
17 | "@utils(.*)$": "<rootDir>/test/utils$1",
|
18 | "@/(.*)$": "<rootDir>dist$1"
|
19 | }
|
20 | };
|