From a40cda4fe05930f0360ee09acf92ec29d65c9f7b Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 1 Jun 2026 09:07:37 +0000 Subject: [PATCH] test: run full test suite via glob, not just smoke tests The test script only ran test/smoke.test.mjs (6 tests), so the 59-test calculate.test.mjs suite covering all VM-sizing, timing, cost, and ROI calculation logic was never executed in CI. Glob over test/*.test.mjs so `npm test` runs all 65 tests. Uses shell glob expansion (unquoted) rather than Node's native --test glob, which only exists in Node 21+, to stay compatible with the Node 18/20/22 CI matrix. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 10b2e56..9abdb94 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "./hailbytes-vuln-calculator.js" ], "scripts": { - "test": "node --test test/smoke.test.mjs" + "test": "node --test test/*.test.mjs" }, "keywords": [ "vulnerability",