(t, subprocess, expectedOutput = foobarString, fdNumber = 1)
| 49 | }; |
| 50 | |
| 51 | export const assertSubprocessOutput = async (t, subprocess, expectedOutput = foobarString, fdNumber = 1) => { |
| 52 | const result = await subprocess; |
| 53 | t.deepEqual(result.stdio[fdNumber], expectedOutput); |
| 54 | }; |
| 55 | |
| 56 | export const assertStreamError = (t, stream, error) => assertPromiseError(t, finishedStream(stream), error); |
| 57 |
no outgoing calls
no test coverage detected
searching dependent graphs…