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

Function assertStreamError

test/helpers/convert.js:56–56  ·  view source on GitHub ↗
(t, stream, error)

Source from the content-addressed store, hash-verified

54};
55
56export const assertStreamError = (t, stream, error) => assertPromiseError(t, finishedStream(stream), error);
57
58export const assertStreamReadError = (t, stream, error) => assertPromiseError(t, text(stream), error);
59

Callers 9

writable.jsFile · 0.90
testStdinErrorFunction · 0.90
testPropagateErrorFunction · 0.90
duplex.jsFile · 0.90
testStdinErrorWritesFunction · 0.90
readable.jsFile · 0.90
concurrent.jsFile · 0.90
testSubprocessFailFunction · 0.90
testSubprocessErrorFunction · 0.90

Calls 2

assertPromiseErrorFunction · 0.85
finishedStreamFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…