monkeytype/backend/jest.config.ts
Bruce Berrios 0a371b531a
Add more tests (#2965) Bruception and sondrekje
* Cover updateName

* Test clearPb, export getUsersCollection for testing purposes

* Add base coverage

* Month -> thirty days

Co-authored-by: Sondre Kjempekjenn <sondre.kjempekjenn@gmail.com>
2022-05-11 14:08:06 +02:00

15 lines
326 B
TypeScript

import { defaults as tsjPreset } from "ts-jest/presets";
export default {
preset: "@shelf/jest-mongodb",
transform: tsjPreset.transform,
setupFilesAfterEnv: ["<rootDir>/setup-tests.ts"],
coverageThreshold: {
global: {
branches: 36,
functions: 18,
lines: 39,
statements: 35,
},
},
};