diff --git a/jest.config.ts b/jest.config.ts index def000a..591c62f 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -6,15 +6,14 @@ const createJestConfig = nextJest({ dir: "./" }); const jestConfig: Config = { preset: "ts-jest", testEnvironment: "jsdom", - // uncomment later after adding tests - // coverageThreshold: { - // global: { - // statements: 90, - // branches: 90, - // functions: 90, - // lines: 90, - // }, - // }, + coverageThreshold: { + global: { + statements: 60, + branches: 49, + lines: 64, + functions: 54, + }, + }, coverageReporters: ["json-summary", "text", "lcov"], collectCoverageFrom: ["src/**/**/*.{js,jsx,ts,tsx}"], reporters: [