import type { InitialOptionsTsJest } from "ts-jest/dist/types"; const config: InitialOptionsTsJest = { preset: "ts-jest", globals: { "ts-jest": { tsconfig: "tsconfig.jest.json", }, }, testMatch: ["/src/**/*.test.ts?(x)"], setupFilesAfterEnv: ["/jest.setup.ts"], moduleNameMapper: { "\\.css$": "/mocks/fileMock.ts", }, }; export default config;