import type { Config } from "jest"; const config: Config = { coverageProvider: "v8", testEnvironment: "jsdom", setupFilesAfterEnv: ["/jest.setup.ts"], moduleNameMapper: { "^@/(.*)$": "/$1", "^.+\\.(css|sass|scss)$": "identity-obj-proxy", "^.+/animations/PointCloud$": "/app/components/animations/__mocks__/PointCloud.tsx", }, testMatch: ["**/__tests__/**/*.[jt]s?(x)", "**/?(*.)+(spec|test).[jt]s?(x)"], transform: { "^.+\\.(ts|tsx)$": [ "ts-jest", { tsconfig: { jsx: "react-jsx", esModuleInterop: true, }, }, ], }, moduleFileExtensions: ["ts", "tsx", "js", "jsx"], testEnvironmentOptions: { customExportConditions: [""], }, }; export default config;