15 lines
469 B
TypeScript
15 lines
469 B
TypeScript
|
/*
|
||
|
* For a detailed explanation regarding each configuration property and type check, visit:
|
||
|
* https://jestjs.io/docs/configuration
|
||
|
*/
|
||
|
module.exports = {
|
||
|
testRegex: "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|js?|tsx?|ts?)$",
|
||
|
transform: {
|
||
|
"^.+\\.jsx?$": "babel-jest",
|
||
|
"^.+\\.mjs$": "babel-jest",
|
||
|
"^.+\\.ts$": "babel-jest",
|
||
|
},
|
||
|
testPathIgnorePatterns: ["<rootDir>/build/", "<rootDir>/node_modules/"],
|
||
|
moduleFileExtensions: ["js", "jsx", "mjs"]
|
||
|
}
|