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

Function assertStreamReadError

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

Source from the content-addressed store, hash-verified

56export const assertStreamError = (t, stream, error) => assertPromiseError(t, finishedStream(stream), error);
57
58export const assertStreamReadError = (t, stream, error) => assertPromiseError(t, text(stream), error);
59
60export const assertSubprocessError = (t, subprocess, error) => assertPromiseError(t, subprocess, error);
61

Callers 3

duplex.jsFile · 0.90
readable.jsFile · 0.90
concurrent.jsFile · 0.90

Calls 1

assertPromiseErrorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…