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

Function testNoOutputOptions

test/verbose/output-noop.js:11–14  ·  view source on GitHub ↗
(t, isSync, options)

Source from the content-addressed store, hash-verified

9setFixtureDirectory();
10
11const testNoOutputOptions = async (t, isSync, options) => {
12 const {stderr} = await nestedSubprocess('noop.js', [foobarString], {verbose: 'full', isSync, ...options});
13 t.is(getOutputLine(stderr), undefined);
14};
15
16test('Does not print stdout, encoding "buffer"', testNoOutputOptions, false, {encoding: 'buffer'});
17test('Does not print stdout, encoding "hex"', testNoOutputOptions, false, {encoding: 'hex'});

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…