MCPcopy Create free account
hub / github.com/sindresorhus/execa / getMessage

Function getMessage

test/transform/validate.js:10–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8setFixtureDirectory();
9
10const getMessage = input => input === null || input === undefined
11 ? 'not be called at all'
12 : 'a string or an Uint8Array';
13
14const lastInputGenerator = input => objectMode => [foobarUint8Array, getOutputGenerator(input)(objectMode)];
15const inputGenerator = input => objectMode => [...lastInputGenerator(input)(objectMode), serializeGenerator(true)];

Callers 5

testGeneratorReturnFunction · 0.70
testGeneratorReturnSyncFunction · 0.70
testIoErrorParentFunction · 0.50
testSendHoldParentFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected