Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

test(coverage): ratchet the status and automation floors to measured levels

Yudhi Armyndharisc85086e535bb
diff --git a/docs/09-testing-strategy.md b/docs/09-testing-strategy.md
index d016fea46..4dbb7db63 100644
--- a/docs/09-testing-strategy.md
+++ b/docs/09-testing-strategy.md
@@ -192,7 +192,7 @@ authoritative gate. Current policy:
| `src/engine/identity/` | 85% | 95% | 94% | 93% |
| `src/modules/audit/` | 59% | 45% | 72% | 68% |
| `src/modules/auth/` | 75% | 85% | 86% | 85% |
-| `src/modules/automation/` | 60% | 55% | 75% | 70% |
+| `src/modules/automation/` | 67% | 57% | 83% | 79% |
| `src/modules/chat-media/` | 78% | 81% | 92% | 90% |
| `src/modules/contact/` | 79% | 90% | 89% | 88% |
| `src/modules/docker/` | 88% | 99% | 96% | 96% |
@@ -210,7 +210,7 @@ authoritative gate. Current policy:
| `src/modules/session/` | 75% | 79% | 88% | 87% |
| `src/modules/stats/` | 67% | 63% | 71% | 69% |
| `src/modules/status-store/` | 79% | 83% | 92% | 91% |
-| `src/modules/status/` | 47% | 45% | 62% | 60% |
+| `src/modules/status/` | 70% | 58% | 79% | 78% |
| `src/modules/template/` | 77% | 99% | 92% | 89% |
| `src/modules/webhook/` | 72% | 89% | 90% | 87% |
diff --git a/package.json b/package.json
index dc0f8e314..df3eed564 100644
--- a/package.json
+++ b/package.json
@@ -253,10 +253,10 @@
"statements": 85
},
"./src/modules/automation/": {
- "branches": 60,
- "functions": 55,
- "lines": 75,
- "statements": 70
+ "branches": 67,
+ "functions": 57,
+ "lines": 83,
+ "statements": 79
},
"./src/modules/chat-media/": {
"branches": 78,
@@ -361,10 +361,10 @@
"statements": 91
},
"./src/modules/status/": {
- "branches": 47,
- "functions": 45,
- "lines": 62,
- "statements": 60
+ "branches": 70,
+ "functions": 58,
+ "lines": 79,
+ "statements": 78
},
"./src/modules/template/": {
"branches": 77,