From 9b912826f755745154aebd4851a10febcedb76f7 Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Tue, 6 Oct 2026 23:47:52 -0400 Subject: [PATCH] test: pass node --test an explicit file list (Node 22 no longer expands directories) Co-Authored-By: Claude Opus 5.5 --- Makefile | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d043bdd..1b514dc 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ lint: node_modules/.package-lock.json jq empty share/claude-settings.json test: node_modules/.package-lock.json - node --test tests/ + node --test tests/*.test.mjs bats tests/ install: all diff --git a/package.json b/package.json index 9ac61ff..7ebc55c 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "scripts": { "build": "node web/build.mjs", "lint": "eslint --ext .js,.mjs web/src web/build.mjs tests/protocol.test.mjs", - "test": "node --test tests/" + "test": "node --test tests/*.test.mjs" }, "devDependencies": { "@fontsource/jetbrains-mono": "5.3.0",