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", }, extensionsToTreatAsEsm: ['.ts', '.tsx'], // collectCoverage: true, // collectCoverageFrom: ['/src/**/*.{ts,tsx}'], // coveragePathIgnorePatterns: ['(tests/.*.mock).(jsx?|tsx?)$', '(.*).d.ts$'], // coverageDirectory: '/coverage/', }