Skip to content

Commit 6627c1f

Browse files
tniessenruyadorno
authored andcommitted
test: remove setMaxListeners in test-crypto-random
This appears to be a remnant from 413d38c. PR-URL: #35079 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent 1bb0ed3 commit 6627c1f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

test/parallel/test-crypto-random.js

-3
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ const { inspect } = require('util');
3434
const kMaxUint32 = Math.pow(2, 32) - 1;
3535
const kMaxPossibleLength = Math.min(kMaxLength, kMaxUint32);
3636

37-
// Bump, we register a lot of exit listeners
38-
process.setMaxListeners(256);
39-
4037
common.expectWarning('DeprecationWarning',
4138
'crypto.pseudoRandomBytes is deprecated.', 'DEP0115');
4239

0 commit comments

Comments
 (0)