From 271ca8086e654e01b518950a6b4890f52ec2ec28 Mon Sep 17 00:00:00 2001 From: erin-at-work <50590950+erin-at-work@users.noreply.github.com> Date: Thu, 28 Apr 2022 11:27:28 -0400 Subject: [PATCH] Initial threshold (#492) * Initial threshold * Update jest.config.ts --- jest.config.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/jest.config.ts b/jest.config.ts index 38abd1ea69..fb3b89db82 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -41,8 +41,14 @@ export default { // A list of reporter names that Jest uses when writing coverage reports coverageReporters: ["json", "text", "text-summary", "lcov"], - // An object that configures minimum threshold enforcement for coverage results - // coverageThreshold: undefined, + // TODO: Increase threshold as additional tests are added + coverageThreshold: { + global: { + branches: 18.22, + functions: 9.05, + statements: 9.43 + } + }, // A set of global variables that need to be available in all test environments // globals: {},