mirror of
https://github.com/zhangxiangliang/stock-api.git
synced 2025-02-02 22:43:46 +08:00
13 lines
384 B
JSON
13 lines
384 B
JSON
{
|
|
"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",
|
|
"^@interfaces/(.*)$": "<rootDir>/src/interfaces/$1"
|
|
}
|
|
}
|