From b869bf94e3d9f9d1370acf824b915c0b172c3a29 Mon Sep 17 00:00:00 2001 From: Aviv Keller Date: Mon, 30 Sep 2024 09:29:54 -0400 Subject: [PATCH 1/2] doc: add notice to `execArgv` --- doc/api/test.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/api/test.md b/doc/api/test.md index e02eba7f182bf7..3d3872b5f4e663 100644 --- a/doc/api/test.md +++ b/doc/api/test.md @@ -1368,6 +1368,11 @@ machines or processes, ideal for large-scale executions across varied environments. It's incompatible with `watch` mode, tailored for rapid code iteration by automatically rerunning tests on file changes. +**Note:** A number of Node's CLI flags will not function properly when used +with `execArgv`, and users should avoid using it unless they have a deep +understanding of its implications. In general, bug reports regarding this +behavior will not be investigated. + ```mjs import { tap } from 'node:test/reporters'; import { run } from 'node:test'; From 81134920714bb8a32de54780242c8faad0408863 Mon Sep 17 00:00:00 2001 From: Aviv Keller Date: Mon, 30 Sep 2024 09:30:53 -0400 Subject: [PATCH 2/2] fixup! --- doc/api/test.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/test.md b/doc/api/test.md index 3d3872b5f4e663..c9c5f926bcf932 100644 --- a/doc/api/test.md +++ b/doc/api/test.md @@ -1368,8 +1368,8 @@ machines or processes, ideal for large-scale executions across varied environments. It's incompatible with `watch` mode, tailored for rapid code iteration by automatically rerunning tests on file changes. -**Note:** A number of Node's CLI flags will not function properly when used -with `execArgv`, and users should avoid using it unless they have a deep +**Note:** A number of CLI flags will not function properly when used with +`execArgv`, and users should avoid using it unless they have a deep understanding of its implications. In general, bug reports regarding this behavior will not be investigated.