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

Function testNoPrintError

test/verbose/error.js:56–59  ·  view source on GitHub ↗
(t, verbose, isSync)

Source from the content-addressed store, hash-verified

54test('Prints error, verbose "full", fd-specific ipc, sync', testPrintError, ipcFullOption, true);
55
56const testNoPrintError = async (t, verbose, isSync) => {
57 const stderr = await runErrorSubprocess(t, verbose, isSync, false);
58 t.is(getErrorLine(stderr), undefined);
59};
60
61test('Does not print error, verbose "none"', testNoPrintError, 'none', false);
62test('Does not print error, verbose default', testNoPrintError, undefined, false);

Callers

nothing calls this directly

Calls 2

runErrorSubprocessFunction · 0.90
getErrorLineFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…