(t, cause, asyncIterable, lines = [])
| 24 | }; |
| 25 | |
| 26 | const errorArrayFromAsync = async (t, cause, asyncIterable, lines = []) => { |
| 27 | const {value} = await asyncIterable.next(); |
| 28 | lines.push(value); |
| 29 | await asyncIterable.throw(cause); |
| 30 | }; |
| 31 | |
| 32 | const throwsAsync = async (t, asyncIterable, arrayFromAsyncMethod) => { |
| 33 | const lines = []; |