export default { setupFilesAfterEnv: ['./src/setupTests.ts'], testEnvironment: 'jsdom', transform: { '^.+\\.(ts|js|tsx|jsx)$': '@swc/jest', }, moduleNameMapper: { '~/(.+)': '/src/$1', '@/(.+)': '/src/modules/$1', '@testing/(.+)': '/src/testing/$1', '\\.(jpg|jpeg|png|gif|webp|svg|svg\\?react)$': '/__mocks__/imageMock.js', }, extensionsToTreatAsEsm: ['.ts', '.tsx'], coverageThreshold: { global: { statements: 10, lines: 10, functions: 7, }, }, collectCoverage: true, collectCoverageFrom: ['/src/**/*.ts'], coveragePathIgnorePatterns: [ 'states/.+State.ts$', 'states/selectors/*', 'contexts/.+Context.ts', 'testing/*', 'tests/*', 'config/*', 'graphql/queries/*', 'graphql/mutations/*', 'graphql/fragments/*', 'types/*', 'constants/*', 'generated-metadata/*', 'generated/*', '__stories__/*', 'display/icon/index.ts', ], // coverageDirectory: '/coverage/', };