/** @type {import('jest').Config} */ export default { testMatch: ['/tests/**/*.test.ts'], modulePathIgnorePatterns: ['/_snapshot', '/amplify'], moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'], transform: { '^.+\\.ts$': [ 'ts-jest', { tsconfig: { target: 'ES2022', module: 'CommonJS', moduleResolution: 'node', esModuleInterop: true, allowJs: true, noEmit: true, strict: true, skipLibCheck: true, types: ['node', 'jest'], }, }, ], }, testTimeout: 30_000, setupFilesAfterEnv: ['/tests/jest.setup.ts'], };