We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ba4a10 commit 6f68f30Copy full SHA for 6f68f30
test/parallel/test-stream-pipeline.js
@@ -1402,8 +1402,14 @@ const net = require('net');
1402
const writableLike = new EE();
1403
writableLike.write = () => false;
1404
1405
- pipeline(async function *() { yield null }, writableLike,
1406
- common.expectsError({ code: 'ERR_STREAM_PREMATURE_CLOSE' }));
+ pipeline(
+ async function *() {
1407
+ yield null;
1408
1409
+ },
1410
+ writableLike,
1411
+ common.expectsError({ code: 'ERR_STREAM_PREMATURE_CLOSE' })
1412
+ );
1413
1414
writableLike.emit('close');
1415
}
0 commit comments