workspace-tools/jest.preset.js

12 строки
380 B
JavaScript
Исходник Обычный вид История

2020-05-15 17:51:46 +03:00
module.exports = {
roots: ["<rootDir>/src"],
transform: {
"^.+\\.tsx?$": "ts-jest",
},
testRegex: "(/__tests__/.*(\\.|/)(test|spec))\\.tsx?$",
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
2020-05-15 17:54:11 +03:00
modulePathIgnorePatterns: ["<rootDir>/src/__fixtures__"],
2020-05-15 17:51:46 +03:00
preset: "ts-jest",
2022-09-15 02:26:15 +03:00
setupFilesAfterEnv: [require.resolve("./scripts/jest/setupTests.ts")],
2020-05-15 17:51:46 +03:00
};