12 строки
379 B
JavaScript
12 строки
379 B
JavaScript
module.exports = {
|
|
roots: ["<rootDir>/src"],
|
|
transform: {
|
|
"^.+\\.tsx?$": "ts-jest",
|
|
},
|
|
testRegex: "(/__tests__/.*(\\.|/)(test|spec))\\.tsx?$",
|
|
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
|
|
modulePathIgnorePatterns: ["<rootDir>/src/__fixtures__"],
|
|
preset: "ts-jest",
|
|
setupFilesAfterEnv: [require.resolve("./src/helpers/setupTests.ts")],
|
|
};
|