stock-api/jestconfig.json

23 lines
498 B
JSON
Raw Permalink Normal View History

2020-07-21 16:53:37 +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"
],
"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
}