shellphone.app/jest.config.js

16 lines
326 B
JavaScript
Raw Normal View History

2021-07-18 15:32:45 +00:00
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",
};