mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
test: avoid test_runner watch restart in spec snapshot
Pass explicit test files to the watch-mode spec reporter fixture. This prevents setup writes from triggering a watch restart. Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com> Assisted-by: openai:gpt-5.5 PR-URL: https://github.com/nodejs/node/pull/63392 Refs: https://github.com/nodejs/node/actions/runs/25983032903/job/76375266688 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
This commit is contained in:
1 parent
8b038d7b33
commit
97dbfa09f7
1 file changed
+4
@@ -33,6 +33,10 @@ const { signal } = controller;
|
||||
const stream = run({
|
||||
watch: true,
|
||||
cwd: tmpdir.path,
|
||||
files: [
|
||||
fixturePaths['failing-test.js'],
|
||||
fixturePaths['test.js'],
|
||||
],
|
||||
signal,
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user