[object Object]

← back to Sample Followup Sweep

5x sweep 1: npm test runs .cjs suites and fails on any failing file (TK-12320)

32af3056da38e2c310243bcbee46196783220fa8 · 2026-09-26 08:58:28 -0700 · Steve Abrams

Files touched

Diff

commit 32af3056da38e2c310243bcbee46196783220fa8
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Sat Sep 26 08:58:28 2026 -0700

    5x sweep 1: npm test runs .cjs suites and fails on any failing file (TK-12320)
---
 package.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package.json b/package.json
index 5a68360..822ce15 100644
--- a/package.json
+++ b/package.json
@@ -5,7 +5,7 @@
   "description": "Designer Wallcoverings sample follow-up compliance and workflow tooling",
   "type": "commonjs",
   "scripts": {
-    "test": "for f in test/*.test.js; do node \"$f\"; done"
+    "test": "for f in test/*.test.js test/*.test.cjs; do node \"$f\" || exit 1; done"
   },
   "dependencies": {
     "parse5": "7.3.0"

← d523fb1 sent-stamp watcher: fold review findings (never overwrite a  ·  back to Sample Followup Sweep  ·  5x sweep 2: console sort/render no longer crash on vendors w a4ab269 →