From 150c692c59ff36c1b002848345b924f3e95e4d67 Mon Sep 17 00:00:00 2001 From: "Sam A. Horvath-Hunt" Date: Sat, 6 Apr 2024 15:20:58 +0100 Subject: [PATCH] Workaround incorrect coverage reporting in CI --- jest.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jest.config.js b/jest.config.js index 480256ef..c5c7c425 100644 --- a/jest.config.js +++ b/jest.config.js @@ -5,7 +5,9 @@ module.exports = { coverageProvider: "v8", coverageThreshold: { global: { - branches: 100, + // Principally 100%, but coverage is reported inconsistently across + // platforms, so we'll give it a little wiggle room here. + branches: 99, functions: 100, lines: 100, statements: 100,