-
Notifications
You must be signed in to change notification settings - Fork 167
/
jest.config.js
24 lines (24 loc) · 736 Bytes
/
jest.config.js
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 = {
verbose: true,
/* clearMocks: true,
collectCoverage: true,
setTimeout: 10000,
coverageDirectory: 'coverage',*/
testEnvironment: 'jsdom',
testMatch: ['**/__tests__/**/*.js?(x)', '**/tests/**/?(*.)+(spec|test).js?(x)', '**/test/**/?(*.)+(spec|test).js?(x)'],
testPathIgnorePatterns: ['/node_modules/'],
// "testEnvironment": "node",
/* transform: {
"^.+\\.(js) ? $": "babel-jest"
},*/
"setupFiles": [
"<rootDir>/test/jest.setup.js"
],
"moduleNameMapper": {
"@signals(.*)$": "<rootDir>/test/signals$1",
"@clients(.*)$": "<rootDir>/test/clients$1",
"@config(.*)$": "<rootDir>/test/config$1",
"@utils(.*)$": "<rootDir>/test/utils$1",
"@/(.*)$": "<rootDir>dist$1"
}
};