Logo
Explore Help
Sign In
OSSForks/node
1
0
Fork 0
You've already forked node
mirror of https://github.com/zebrajr/node.git synced 2026-01-15 12:15:26 +00:00
Code Issues Actions 8 Packages Projects Releases Wiki Activity
Files
master
node/test/test-runner/test-watch-rename-isolation-process.mjs

9 lines
349 B
JavaScript
Raw Permalink Normal View History

test: split test-runner-watch-mode The test has been flaky for years and new platforms keep popping up. As it squeezes too many independent test cases into one file, split them into individual files to avoid masking regressions and help only mark the real flaky ones as flaky. This might also help with the flakiness itself by avoiding updating a shared tmpdir being watched by differet tests and avoiding running all these time-consuming tests in one file, which can cause a timeout on slow machines. PR-URL: https://github.com/nodejs/node/pull/60391 Refs: https://github.com/nodejs/node/issues/49605 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
2025-10-24 12:59:47 +02:00
// Test --test --watch --test-isolation=process handles a watched test file rename
import '../common/index.mjs';
import { skipIfNoWatch, refreshForTestRunnerWatch, testRunnerWatch } from '../common/watch.js';
skipIfNoWatch();
refreshForTestRunnerWatch();
await testRunnerWatch({ fileToUpdate: 'test.js', action: 'rename', isolation: 'process' });
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 1481ms Template: 105ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API