From d501a419ac46de18c95ece73bb3f3e28dd828508 Mon Sep 17 00:00:00 2001 From: "Kamat, Trivikram" <16024985+trivikr@users.noreply.github.com> Date: Sun, 17 May 2026 15:55:59 -0700 Subject: [PATCH] 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 --- test/fixtures/test-runner/output/test-runner-watch-spec.mjs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/fixtures/test-runner/output/test-runner-watch-spec.mjs b/test/fixtures/test-runner/output/test-runner-watch-spec.mjs index 6c9b575a164dc7..518fcb56526149 100644 --- a/test/fixtures/test-runner/output/test-runner-watch-spec.mjs +++ b/test/fixtures/test-runner/output/test-runner-watch-spec.mjs @@ -33,6 +33,10 @@ const { signal } = controller; const stream = run({ watch: true, cwd: tmpdir.path, + files: [ + fixturePaths['failing-test.js'], + fixturePaths['test.js'], + ], signal, });