From 88930b08e8a21a4abb249ac336fab440e8fa2851 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 4 Jun 2026 09:07:31 +0000 Subject: [PATCH] test: run all test/*.test.mjs in npm test, not just smoke tests The npm test script only ran test/smoke.test.mjs (6 tests), so the 59-test calculate.test.mjs suite covering core VM sizing, timing, cost, and ROI logic never executed in CI. Glob all *.test.mjs files so the full suite (65 tests) runs on every push, PR, and pre-publish check. Shell-expanded glob keeps this portable across the supported Node 18/20/22 matrix (npm runs scripts via sh). --- 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",