(t, stream, expectedOutput)
| 45 | }; |
| 46 | |
| 47 | export const assertStreamChunks = async (t, stream, expectedOutput) => { |
| 48 | t.deepEqual(await stream.toArray(), expectedOutput); |
| 49 | }; |
| 50 | |
| 51 | export const assertSubprocessOutput = async (t, subprocess, expectedOutput = foobarString, fdNumber = 1) => { |
| 52 | const result = await subprocess; |