MCPcopy Index your code
hub / github.com/nodejs/node / test-run-watch-cwd.mjs

File test-run-watch-cwd.mjs

test/test-runner/test-run-watch-cwd.mjs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Test run({ watch: true, cwd }) runs with different cwd while in watch mode
2import * as common from '../common/index.mjs';
3import { run } from 'node:test';
4import tmpdir from '../common/tmpdir.js';

Callers

nothing calls this directly

Calls 6

skipIfNoWatchFunction · 0.90
abortMethod · 0.65
runFunction · 0.50
onMethod · 0.45
removeAllListenersMethod · 0.45

Tested by

no test coverage detected