Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup! fixup! stream: support array of streams in promises pipeline
  • Loading branch information
Mesteery committed Sep 23, 2021
commit a7f4073f0f7b613be37c6d4325388feec793451e
20 changes: 0 additions & 20 deletions test/parallel/test-stream-pipeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -1407,26 +1407,6 @@ const tsp = require('timers/promises');
ac.abort();
}

{
async function run() {
let finished = false;
const write = new Writable({
write(data, enc, cb) {
cb();
}
});
write.on('finish', () => {
finished = true;
});

await pipelinep([Readable.from('Hello World!'), write]);

assert(finished);
}

run();
}

{
async function run() {
let finished = false;
Expand Down