MCPcopy Index your code
hub / github.com/sindresorhus/fkill-cli / noopProcessKilled

Function noopProcessKilled

test.js:10–14  ·  view source on GitHub ↗
(t, pid)

Source from the content-addressed store, hash-verified

8import getPort from 'get-port';
9
10const noopProcessKilled = async (t, pid) => {
11 // Ensure the noop process has time to exit
12 await delay(100);
13 t.false(await processExists(pid));
14};
15
16test('main', async t => {
17 const {stdout} = await execa('./cli.js', ['--version']);

Callers 1

test.jsFile · 0.85

Calls 1

delayFunction · 0.85

Tested by

no test coverage detected