module.exports = { collectCoverageFrom: [ '**/*.{js,jsx,ts,tsx}', '!**/*.d.ts', '!**/node_modules/**', ], setupFilesAfterEnv: ['/setupTests.js'], testPathIgnorePatterns: ['/.next/', '/node_modules/'], transform: { '^.+\\.(js|jsx|ts|tsx)$': '/node_modules/babel-jest', }, transformIgnorePatterns: [ '/node_modules/', '^.+\\.module\\.(css|sass|scss)$', ], moduleNameMapper: { '^.+\\.module\\.(css|sass|scss)$': 'identity-obj-proxy', }, modulePaths: ['/'], };