stock-api/jestconfig.json
2020-07-29 16:20:18 +08:00

21 lines
424 B
JSON

{
"verbose": true,
"transform": {
"^.+\\.(t|j)sx?$": "ts-jest"
},
"testRegex": "(/test/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"moduleNameMapper": {
"^@stocks/(.*)$": "<rootDir>/src/stocks/$1",
"^@utils/(.*)$": "<rootDir>/src/utils/$1",
"^types/(.*)$": "<rootDir>/types/$1"
}
}