From 39927980f9eccbb94e458ceae9d41f99bf172305 Mon Sep 17 00:00:00 2001 From: Nico Jansen Date: Tue, 13 May 2025 00:39:22 +0200 Subject: [PATCH 1/3] doc: document default test-reporter change Document the change made in https://github.com/nodejs/node/pull/54548 --- doc/api/test.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/api/test.md b/doc/api/test.md index e1639cab9ce585..f4f9956819a712 100644 --- a/doc/api/test.md +++ b/doc/api/test.md @@ -1051,6 +1051,9 @@ changes: - v18.17.0 pr-url: https://github.com/nodejs/node/pull/47238 description: Reporters are now exposed at `node:test/reporters`. + - version: 23.0.0 + pr-url: https://github.com/nodejs/node/pull/54548 + description: The default reporter is now `spec` unconditionally, even when not in a TTY. --> The `node:test` module supports passing [`--test-reporter`][] From c95d81dd6e42e4d30e19d7eb5c6e86b6d267a1d5 Mon Sep 17 00:00:00 2001 From: Nico Jansen Date: Tue, 13 May 2025 09:03:13 +0200 Subject: [PATCH 2/3] Fix lint --- doc/api/test.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api/test.md b/doc/api/test.md index f4f9956819a712..1bb694729dcdbb 100644 --- a/doc/api/test.md +++ b/doc/api/test.md @@ -1046,14 +1046,14 @@ added: - v19.6.0 - v18.15.0 changes: + - version: v23.0.0 + pr-url: https://github.com/nodejs/node/pull/54548 + description: The default reporter is now `spec` unconditionally, even when not in a TTY. - version: - v19.9.0 - v18.17.0 pr-url: https://github.com/nodejs/node/pull/47238 description: Reporters are now exposed at `node:test/reporters`. - - version: 23.0.0 - pr-url: https://github.com/nodejs/node/pull/54548 - description: The default reporter is now `spec` unconditionally, even when not in a TTY. --> The `node:test` module supports passing [`--test-reporter`][] From 0d6292014862115d9946d63101428d308c69f095 Mon Sep 17 00:00:00 2001 From: Nico Jansen Date: Wed, 14 May 2025 21:14:28 +0200 Subject: [PATCH 3/3] Update doc/api/test.md Co-authored-by: Antoine du Hamel --- doc/api/test.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/api/test.md b/doc/api/test.md index 1bb694729dcdbb..154d11424f194e 100644 --- a/doc/api/test.md +++ b/doc/api/test.md @@ -1048,7 +1048,8 @@ added: changes: - version: v23.0.0 pr-url: https://github.com/nodejs/node/pull/54548 - description: The default reporter is now `spec` unconditionally, even when not in a TTY. + description: The default reporter on non-TTY stdout is changed from `tap` to + `spec`, aligning with TTY stdout. - version: - v19.9.0 - v18.17.0