16 lines
326 B
JavaScript
16 lines
326 B
JavaScript
module.exports = {
|
|
collectCoverageFrom: [
|
|
"src/**/*.{js,jsx,ts,tsx}",
|
|
"lib/**/*.{js,jsx,ts,tsx}",
|
|
],
|
|
transform: {
|
|
"^.+\\.(js|jsx|ts|tsx)$": "<rootDir>/node_modules/babel-jest",
|
|
},
|
|
transformIgnorePatterns: [
|
|
"/node_modules/",
|
|
"/.next/",
|
|
],
|
|
setupFilesAfterEnv: ["./jest/setup.ts"],
|
|
testEnvironment: "node",
|
|
};
|