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

Function testOverflowStream

test/stdio/native-fd.js:25–28  ·  view source on GitHub ↗
(t, fdNumber, stdioOption, isSync)

Source from the content-addressed store, hash-verified

23
24if (isLinux) {
25 const testOverflowStream = async (t, fdNumber, stdioOption, isSync) => {
26 const {stdout} = await nestedSubprocess('empty.js', {...getStdio(fdNumber, stdioOption), isSync}, fullStdio);
27 t.is(stdout, '');
28 };
29
30 test('stdin can use 4+', testOverflowStream, 0, 4, false);
31 test('stdin can use [4+]', testOverflowStream, 0, [4], false);

Callers

nothing calls this directly

Calls 2

nestedSubprocessFunction · 0.90
getStdioFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…