mirror of
https://github.com/UA-Fediland/synapse-admin.git
synced 2024-10-03 22:29:54 +00:00
2466af6936
Change-Id: Ia1f862fb5962ddd54b8d7643abbc39bb314d1f8e
14 lines
459 B
TypeScript
14 lines
459 B
TypeScript
import type { JestConfigWithTsJest } from "ts-jest";
|
|
|
|
const config: JestConfigWithTsJest = {
|
|
preset: "ts-jest",
|
|
testEnvironment: "jsdom",
|
|
collectCoverage: true,
|
|
coveragePathIgnorePatterns: ["node_modules", "dist"],
|
|
coverageDirectory: "<rootDir>/coverage/",
|
|
coverageReporters: ["html", "text", "text-summary", "cobertura"],
|
|
extensionsToTreatAsEsm: [".ts", ".tsx"],
|
|
setupFilesAfterEnv: ["<rootDir>/src/jest.setup.ts"],
|
|
};
|
|
export default config;
|