From 04028ff56524701e4ee5d19d9effd9fec281ec50 Mon Sep 17 00:00:00 2001 From: Francois Daoust Date: Mon, 16 Jun 2025 16:17:17 +0200 Subject: [PATCH] Force `spec` reporter for tests That should be the default everywhere starting with v23. Previous versions use `tap` for non-TTY stdout, which I suspect applies to GitHub workflows. --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 6777dc135e2d..1949761c8fe1 100644 --- a/package.json +++ b/package.json @@ -43,9 +43,9 @@ "scripts": { "create-patch": "node tools/create-patch.js", "curate": "node tools/prepare-curated.js ed curated && node tools/prepare-packages.js curated packages", - "test": "node --test", - "test-css": "node --test \"test/css/*.js\"", - "test-elements": "node --test \"test/elements/*.js\"", - "test-idl": "node --test \"test/idl/*.js\"" + "test": "node --test --test-reporter=spec", + "test-css": "node --test --test-reporter=spec \"test/css/*.js\"", + "test-elements": "node --test --test-reporter=spec \"test/elements/*.js\"", + "test-idl": "node --test --test-reporter=spec \"test/idl/*.js\"" } }