()
| 66 | }; |
| 67 | |
| 68 | const createFileWriteStream = async () => { |
| 69 | const filePath = tempfile(); |
| 70 | const stream = createWriteStream(filePath); |
| 71 | await once(stream, 'open'); |
| 72 | return {stream, filePath}; |
| 73 | }; |
| 74 | |
| 75 | const assertFileStreamError = async (t, subprocess, stream, filePath) => { |
| 76 | const cause = new Error('test'); |
no outgoing calls
no test coverage detected