Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
test: leave headroom under re-derived coverage floors
Yudhi Armyndharis8b92f3362f59
diff --git a/docs/09-testing-strategy.md b/docs/09-testing-strategy.mdindex 698a5ab29..cc04ea686 100644--- a/docs/09-testing-strategy.md+++ b/docs/09-testing-strategy.md@@ -177,25 +177,25 @@ authoritative gate. Current policy:| Scope | Branches | Functions | Lines | Statements || --------------------------- | -------- | --------- | ----- | ---------- |-| Global | 49% | 43% | 50% | 49% |+| Global | 44% | 38% | 45% | 44% || `src/common/cache/` | 34% | 33% | 42% | 42% || `src/common/security/` | 85% | 95% | 93% | 92% || `src/common/services/` | 74% | 91% | 87% | 84% || `src/common/storage/` | 75% | 80% | 80% | 77% || `src/common/utils/` | 86% | 92% | 92% | 91% |-| `src/config/` | 80% | 59% | 68% | 67% |+| `src/config/` | 75% | 54% | 63% | 62% || `src/core/agent-tools/` | 88% | 87% | 83% | 83% || `src/core/hooks/` | 81% | 73% | 85% | 84% || `src/core/plugins/` | 72% | 74% | 81% | 80% || `src/database/` | 69% | 69% | 72% | 72% || `src/engine/adapters/` | 74% | 84% | 83% | 83% || `src/engine/identity/` | 85% | 95% | 94% | 93% |-| `src/modules/audit/` | 55% | 26% | 64% | 62% |-| `src/modules/auth/` | 70% | 67% | 72% | 70% |+| `src/modules/audit/` | 50% | 21% | 59% | 57% |+| `src/modules/auth/` | 65% | 62% | 67% | 65% || `src/modules/automation/` | 67% | 57% | 83% | 79% |-| `src/modules/chat-media/` | 80% | 81% | 89% | 89% |+| `src/modules/chat-media/` | 75% | 76% | 84% | 84% || `src/modules/contact/` | 79% | 90% | 89% | 88% |-| `src/modules/docker/` | 88% | 87% | 92% | 92% |+| `src/modules/docker/` | 83% | 82% | 87% | 87% || `src/modules/events/` | 70% | 84% | 81% | 80% || `src/modules/group/` | 64% | 47% | 67% | 67% || `src/modules/infra/` | 73% | 71% | 87% | 86% |@@ -205,7 +205,7 @@ authoritative gate. Current policy:| `src/modules/message/` | 57% | 66% | 81% | 80% || `src/modules/metrics/` | 61% | 65% | 68% | 65% || `src/modules/plugins/` | 67% | 63% | 74% | 73% |-| `src/modules/queue/` | 74% | 66% | 85% | 84% |+| `src/modules/queue/` | 69% | 61% | 80% | 79% || `src/modules/search/` | 66% | 87% | 71% | 71% || `src/modules/session/` | 75% | 79% | 88% | 87% || `src/modules/stats/` | 67% | 63% | 71% | 69% |diff --git a/package.json b/package.jsonindex 01c3715be..8971471b5 100644--- a/package.json+++ b/package.json@@ -193,10 +193,10 @@"coverageDirectory": "../coverage","coverageThreshold": {"global": {- "branches": 49,- "functions": 43,- "lines": 50,- "statements": 49+ "branches": 44,+ "functions": 38,+ "lines": 45,+ "statements": 44},"./src/common/cache/": {"branches": 34,@@ -229,10 +229,10 @@"statements": 91},"./src/config/": {- "branches": 80,- "functions": 59,- "lines": 68,- "statements": 67+ "branches": 75,+ "functions": 54,+ "lines": 63,+ "statements": 62},"./src/core/agent-tools/": {"branches": 88,@@ -271,16 +271,16 @@"statements": 93},"./src/modules/audit/": {- "branches": 55,- "functions": 26,- "lines": 64,- "statements": 62+ "branches": 50,+ "functions": 21,+ "lines": 59,+ "statements": 57},"./src/modules/auth/": {- "branches": 70,- "functions": 67,- "lines": 72,- "statements": 70+ "branches": 65,+ "functions": 62,+ "lines": 67,+ "statements": 65},"./src/modules/automation/": {"branches": 67,@@ -289,10 +289,10 @@"statements": 79},"./src/modules/chat-media/": {- "branches": 80,- "functions": 81,- "lines": 89,- "statements": 89+ "branches": 75,+ "functions": 76,+ "lines": 84,+ "statements": 84},"./src/modules/contact/": {"branches": 79,@@ -301,10 +301,10 @@"statements": 88},"./src/modules/docker/": {- "branches": 88,- "functions": 87,- "lines": 92,- "statements": 92+ "branches": 83,+ "functions": 82,+ "lines": 87,+ "statements": 87},"./src/modules/events/": {"branches": 70,@@ -361,10 +361,10 @@"statements": 73},"./src/modules/queue/": {- "branches": 74,- "functions": 66,- "lines": 85,- "statements": 84+ "branches": 69,+ "functions": 61,+ "lines": 80,+ "statements": 79},"./src/modules/search/": {"branches": 66,