From 37f2c9a2f2dda4cedecc27babbaf4c57eb99f312 Mon Sep 17 00:00:00 2001 From: bot-implementer Date: Tue, 25 Aug 2026 12:30:06 +0000 Subject: [PATCH] chore: use default test discovery so npm test works across node builds `node --test ` treats a directory argument as a module path on some Node builds (reproduced on v22.23.2), so `npm test` failed before running any tests. `node --test` with no args discovers the same tests/ files portably. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7c872dd..a6da0b3 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,6 @@ "type": "module", "description": "A small static personal blog with a mailto-based contact page.", "scripts": { - "test": "node --test tests/" + "test": "node --test" } }