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: test
  • Loading branch information
ronag committed Apr 28, 2020
commit 5bd8e7cc209e6383bd28a2dd5022389b289995ff
4 changes: 1 addition & 3 deletions test/parallel/test-stream-finished.js
Original file line number Diff line number Diff line change
Expand Up @@ -451,8 +451,6 @@ testClosed((opts) => new Writable({ write() {}, ...opts }));
instance.end();

(async () => {
await new Promise((resolve) => setTimeout(resolve, 100));

instance.setEncoding('utf8');

let res = '';
Expand All @@ -461,7 +459,7 @@ testClosed((opts) => new Writable({ write() {}, ...opts }));
}

assert.strictEqual(res, 'chunk 1chunk 2chunk 3');
})();
})().then(common.mustCall());
}

{
Expand Down