mirror of
https://github.com/nodejs/node.git
synced 2025-12-28 07:50:41 +00:00
This test contains too many independent test cases and as a result, marking it as flaky on all major platforms means actual regressions could be covered up, and it's constantly making the CI orange and requires extra resuming on the flaked platforms which is still not great. Split it into individual files so that the actual flake can be identified out of the monolith. PR-URL: https://github.com/nodejs/node/pull/60653 Refs: https://github.com/nodejs/node/issues/54534 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
9 lines
310 B
JavaScript
9 lines
310 B
JavaScript
// Test run({ watch: true }) supports running tests without a file
|
|
import '../common/index.mjs';
|
|
import { skipIfNoWatch, refreshForTestRunnerWatch, testRunnerWatch } from '../common/watch.js';
|
|
|
|
skipIfNoWatch();
|
|
refreshForTestRunnerWatch();
|
|
|
|
await testRunnerWatch({ fileToUpdate: 'test.js', useRunApi: true });
|