Skip to content

Commit 4e2b853

Browse files
aelhorlpinca
andauthored
Update test/parallel/test-duplex-error.js
Co-authored-by: Luigi Pinca <luigipinca@gmail.com>
1 parent 45bc784 commit 4e2b853

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

test/parallel/test-duplex-error.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ const { duplexPair } = require('stream');
66

77
const [sideA, sideB] = duplexPair();
88

9-
let sideAErrorReceived = false;
10-
let sideBErrorReceived = false;
11-
129
// Use common.mustCall inside the listeners to ensure they trigger
1310
sideA.on('error', common.mustCall((err) => {
1411
sideAErrorReceived = true;

0 commit comments

Comments
 (0)