Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

test(coverage): raise the global function floor to 63%

Yudhi Armyndharisf0474b350bfe
diff --git a/docs/09-testing-strategy.md b/docs/09-testing-strategy.md
index d2344e77a..b8ae0cb5e 100644
--- a/docs/09-testing-strategy.md
+++ b/docs/09-testing-strategy.md
@@ -162,7 +162,7 @@ authoritative gate. Current policy:
| Scope | Branches | Functions | Lines | Statements |
| --------------------------- | -------- | --------- | ----- | ---------- |
-| Global | 58% | 58% | 66% | 65% |
+| Global | 58% | 63% | 66% | 65% |
| `src/common/cache/` | 34% | 33% | 42% | 42% |
| `src/common/security/` | 85% | 95% | 93% | 92% |
| `src/common/services/` | 74% | 91% | 87% | 84% |
diff --git a/package.json b/package.json
index 2fe2982d4..28cf91b55 100644
--- a/package.json
+++ b/package.json
@@ -162,7 +162,7 @@
"coverageThreshold": {
"global": {
"branches": 58,
- "functions": 58,
+ "functions": 63,
"lines": 66,
"statements": 65
},