-
Notifications
You must be signed in to change notification settings - Fork 26
/
jest.config.json
22 lines (22 loc) · 875 Bytes
/
jest.config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"verbose": true,
"preset": "ts-jest",
"testEnvironment": "jsdom",
"moduleNameMapper": {
"\\.(css|less|scss|sss|styl)$": "identity-obj-proxy",
"\\.(jpg|ico|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)(\\?.+)?$": "identity-obj-proxy",
"^api(.*)$": "<rootDir>/src/api$1",
"^assets(.*)$": "<rootDir>/src/assets$1",
"^components(.*)$": "<rootDir>/src/components$1",
"^constants/(.*)$": "<rootDir>/src/constants/$1",
"^images(.*)$": "<rootDir>/src/assets/images$1",
"^hocs(.*)$": "<rootDir>/src/hocs$1",
"^hooks(.*)$": "<rootDir>/src/hooks$1",
"^pages(.*)$": "<rootDir>/src/pages$1",
"^src(.*)$": "<rootDir>/src$1",
"^style(.*)$": "<rootDir>/src/style$1",
"^store(.*)$": "<rootDir>/src/store$1",
"^types(.*)$": "<rootDir>/src/types$1",
"^utils(.*)$": "<rootDir>/src/utils$1"
}
}