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