MCPcopy
hub / github.com/sindresorhus/execa / testNoOutputStream

Function testNoOutputStream

test/verbose/output-noop.js:39–42  ·  view source on GitHub ↗
(t, parentFixture)

Source from the content-addressed store, hash-verified

37test('Does not print stdout, stdout WritableStream, sync', testNoOutputDynamic, true, 'writable-web.js');
38
39const testNoOutputStream = async (t, parentFixture) => {
40 const {stderr} = await nestedSubprocess('noop.js', [foobarString], {verbose: 'full', parentFixture});
41 t.is(getOutputLine(stderr), undefined);
42};
43
44test('Does not print stdout, .pipe(stream)', testNoOutputStream, 'nested-pipe-stream.js');
45test('Does not print stdout, .pipe(subprocess)', testNoOutputStream, 'nested-pipe-subprocess.js');

Callers

nothing calls this directly

Calls 2

nestedSubprocessFunction · 0.90
getOutputLineFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…