13 строки
340 B
JavaScript
13 строки
340 B
JavaScript
module.exports = {
|
|
roots: ["<rootDir>/src/", "<rootDir>/test/"],
|
|
transform: {
|
|
"^.+\\.tsx?$": "ts-jest",
|
|
},
|
|
testRegex: "(/__tests__/.*|\\.(test|spec))\\.[tj]sx?$",
|
|
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
|
|
testEnvironment: "node",
|
|
moduleNameMapper: {
|
|
axios: "axios/dist/node/axios.cjs",
|
|
},
|
|
};
|