Panno-AI-API / jest.config.js
GitHub Actions Bot
Sync: Thu Feb 12 07:00:42 UTC 2026
dce7eca
raw
history blame contribute delete
619 Bytes
const nextJest = require('next/jest')
const createJestConfig = nextJest({
dir: './',
})
const customJestConfig = {
setupFilesAfterEnv: ['<rootDir>/jest.setup.js'],
testEnvironment: 'jest-environment-jsdom',
moduleNameMapper: {
'^@/(.*)$': '<rootDir>/src/$1',
},
collectCoverage: true,
coverageThreshold: {
global: {
branches: 30,
functions: 50,
lines: 50,
statements: 50,
},
},
transformIgnorePatterns: [
'/node_modules/(?!lucide-react)/'
],
}
module.exports = createJestConfig(customJestConfig)