(t, isSync)
| 18 | }; |
| 19 | |
| 20 | export const runWarningSubprocess = async (t, isSync) => { |
| 21 | const {stderr, nestedResult} = await nestedSubprocess('noop-fail.js', ['1', foobarString], {verbose: 'short', reject: false, isSync}); |
| 22 | t.true(nestedResult instanceof Error); |
| 23 | t.true(stderr.includes('exit code 2')); |
| 24 | return stderr; |
| 25 | }; |
| 26 | |
| 27 | export const runEarlyErrorSubprocess = async (t, isSync) => { |
| 28 | const {stderr, nestedResult} = await nestedSubprocess('noop.js', [foobarString], {verbose: 'short', cwd: true, isSync}); |
no test coverage detected
searching dependent graphs…