(t, subprocess, error)
| 58 | export const assertStreamReadError = (t, stream, error) => assertPromiseError(t, text(stream), error); |
| 59 | |
| 60 | export const assertSubprocessError = (t, subprocess, error) => assertPromiseError(t, subprocess, error); |
| 61 | |
| 62 | export const assertPromiseError = async (t, promise, error) => { |
| 63 | const thrownError = await t.throwsAsync(promise); |
no test coverage detected
searching dependent graphs…