2020-07-21 16:53:37 +08:00
|
|
|
{
|
2020-07-23 01:30:16 +08:00
|
|
|
"verbose": true,
|
2020-08-22 18:43:56 +08:00
|
|
|
"testTimeout": 15000,
|
2020-07-21 16:53:37 +08:00
|
|
|
"transform": {
|
|
|
|
"^.+\\.(t|j)sx?$": "ts-jest"
|
|
|
|
},
|
|
|
|
"testRegex": "(/test/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
|
2020-07-29 16:20:18 +08:00
|
|
|
"moduleFileExtensions": [
|
|
|
|
"ts",
|
|
|
|
"tsx",
|
|
|
|
"js",
|
|
|
|
"jsx",
|
|
|
|
"json",
|
|
|
|
"node"
|
|
|
|
],
|
2020-07-30 02:37:19 +08:00
|
|
|
"moduleDirectories": ["node_modules", "src"],
|
2020-07-29 16:20:18 +08:00
|
|
|
"moduleNameMapper": {
|
|
|
|
"^@stocks/(.*)$": "<rootDir>/src/stocks/$1",
|
|
|
|
"^@utils/(.*)$": "<rootDir>/src/utils/$1",
|
|
|
|
"^types/(.*)$": "<rootDir>/types/$1"
|
|
|
|
}
|
2020-07-21 16:53:37 +08:00
|
|
|
}
|