mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
9 lines
349 B
JavaScript
9 lines
349 B
JavaScript
|
|
// 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' });
|