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

Function assertReadableAborted

test/helpers/convert.js:24–28  ·  view source on GitHub ↗
(t, readable)

Source from the content-addressed store, hash-verified

22};
23
24export const assertReadableAborted = (t, readable) => {
25 t.false(readable.readableEnded);
26 t.is(readable.errored, null);
27 t.false(readable.readable);
28};
29
30export const assertProcessNormalExit = (t, error, exitCode = 0) => {
31 t.is(error.exitCode, exitCode);

Callers 5

assertStdoutAbortFunction · 0.90
duplex.jsFile · 0.90
readable.jsFile · 0.90
testStdoutAbortFunction · 0.90
testStdinAbortWritesFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…