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

Function assertWritableAborted

test/helpers/convert.js:18–22  ·  view source on GitHub ↗
(t, writable)

Source from the content-addressed store, hash-verified

16export const finishedStream = stream => finished(stream, {cleanup: true});
17
18export const assertWritableAborted = (t, writable) => {
19 t.false(writable.writableEnded);
20 t.is(writable.errored, null);
21 t.false(writable.writable);
22};
23
24export const assertReadableAborted = (t, readable) => {
25 t.false(readable.readableEnded);

Callers 9

testEarlySuccessFunction · 0.90
writable.jsFile · 0.90
testStdinAbortFunction · 0.90
assertStdoutAbortFunction · 0.90
duplex.jsFile · 0.90
readable.jsFile · 0.90
testStdoutAbortFunction · 0.90
testStdoutErrorFunction · 0.90
testSubprocessFailFunction · 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…