Skip to content

Commit 6b9fa28

Browse files
authored
Update test/parallel/test-net-server-simultaneous-accepts-produce-warning-once.js
1 parent 165544c commit 6b9fa28

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/parallel/test-net-server-simultaneous-accepts-produce-warning-once.js

+3
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,8 @@ process.on(
1616
})
1717
);
1818

19+
process.on('warning', mustCall(() => {
20+
process.on('warning', mustNotCall());
21+
}));
1922
net._setSimultaneousAccepts();
2023
net._setSimultaneousAccepts();

0 commit comments

Comments
 (0)