Skip to content
Merged
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
fixup
  • Loading branch information
ronag committed Feb 4, 2022
commit 4916f0cde3fb81bf226d9759e07d84d515aeef5e
3 changes: 1 addition & 2 deletions test/parallel/test-stream-readable-pause-and-resume.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ function readAndPause() {
const target3 = new PassThrough();

const chunk = Buffer.allocUnsafe(1000);
let chunks = 1;
while (target3.write(chunk)) chunks++;
while (target3.write(chunk));

source3.pipe(target3);
target3.on('drain', common.mustCall(() => {
Expand Down