summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2025-05-27 01:26:06 -0400
committerOwen Jacobson <owen@grimoire.ca>2025-05-27 01:26:06 -0400
commit515cd2dbe6f202c92b938c4f7364c97b4eac9ab1 (patch)
treee2fcfd2bb9b0e273e43d769ee69cdbff3e0f6f26
parent586d3a267f14f730c7703b6cf23ea83b8d17790d (diff)
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.
-rw-r--r--vite.config.js8
1 files 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,