ObjToSchematic/jestconfig.json

12 lines
490 B
JSON
Raw Normal View History

2022-03-02 06:34:42 +08:00
{
"transform": {
"^.+\\.(t|j)sx?$": "ts-jest"
},
"testRegex": "(/test/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json", "node"],
2023-04-10 07:59:36 +08:00
"modulePathIgnorePatterns": ["/tests/full/"],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|vs|fs)$": "<rootDir>/tests/__mocks__/fileMock.js",
"\\.(css|less)$": "<rootDir>/tests/__mocks__/styleMock.js"
}
2022-03-02 06:34:42 +08:00
}