export default {
coverageReporters: ["html", "text"],
coverageThreshold: {
global: {
branches: 100,
functions: 100,
lines: 100,
},
},
moduleFileExtensions: ["ts", "tsx", "js", "jsx"],
// The default format changed from Jest 28 to 29
snapshotFormat: {
escapeString: true,
printBasicPrototype: true,
},
testEnvironment: "node",
transform: {
"^.+\\.[tj]sx?$": [
"ts-jest",
{
tsconfig: "tsconfig.json",
},
],
},
};