-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathjest.conf.json
27 lines (27 loc) · 933 Bytes
/
jest.conf.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
"roots": ["./src/app"],
"testRegex": "/src/app/.*\\.test.(js|jsx)$",
"unmockedModulePathPatterns": [
"./node_modules/react"
],
"setupFiles": [
"./test-setup.js"
],
"modulePaths": [
"src/app"
],
"moduleNameMapper": {
"\\.(jpg|ico|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/src/__mocks__/fileMock.js",
"\\.(css|scss)$": "identity-obj-proxy",
"^@ds-frontend/cache": "ds-frontend/packages/cache",
"^@ds-frontend/api": "ds-frontend/packages/api",
"^@ds-frontend/i18n": "ds-frontend/packages/i18n",
"^@ds-frontend/queryParams": "ds-frontend/packages/queryParams",
"^@ds-frontend/redux-helpers": "ds-frontend/packages/redux-helpers",
"^@ds-frontend/resource": "ds-frontend/packages/resource"
},
"modulePathIgnorePatterns": ["<rootDir>/.*/__mocks__"],
"transformIgnorePatterns": [
"node_modules/(?!(ds-frontend)/)"
]
}