From 515cd2dbe6f202c92b938c4f7364c97b4eac9ab1 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Tue, 27 May 2025 01:26:06 -0400 Subject: Adjust code coverage failure thresholds to match the project. These values were drawn from `npx vitest --run --coverage` as of this commit. I offer no opinion on whether they are _desireable_ coverage thresholds, only that they are what we are actually achieving, and what we are accepting in practice. --- vite.config.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vite.config.js b/vite.config.js index 4bd448f..fcf28aa 100644 --- a/vite.config.js +++ b/vite.config.js @@ -13,10 +13,10 @@ export default defineConfig({ restoreMocks: true, coverage: { thresholds: { - statements: 49, - branches: 60, - functions: 14, - lines: 49 + statements: 12, + branches: 85, + functions: 75, + lines: 12 }, exclude: [ ...configDefaults.exclude, -- cgit v1.2.3