(t, isSync, optionsFixture)
| 45 | test('Does not print stdout, .pipe(subprocess)', testNoOutputStream, 'nested-pipe-subprocess.js'); |
| 46 | |
| 47 | const testStdoutFile = async (t, isSync, optionsFixture) => { |
| 48 | const file = tempfile(); |
| 49 | const {stderr} = await nestedSubprocess('noop.js', [foobarString], { |
| 50 | verbose: 'full', |
| 51 | stdout: {file}, |
| 52 | isSync, |
| 53 | optionsFixture, |
| 54 | }); |
| 55 | t.is(getOutputLine(stderr), undefined); |
| 56 | const contents = await readFile(file, 'utf8'); |
| 57 | t.is(contents.trim(), foobarString); |
| 58 | await rm(file); |
| 59 | }; |
| 60 | |
| 61 | test('Does not print stdout, stdout { file }', testStdoutFile, false); |
| 62 | test('Does not print stdout, stdout fileUrl', testStdoutFile, false, 'file-url.js'); |
nothing calls this directly
no test coverage detected
searching dependent graphs…