Skip to content

Commit d60c487

Browse files
tniessenaddaleax
authored andcommitted
test: remove setMaxListeners in test-crypto-random
This appears to be a remnant from 413d38c. PR-URL: #35079 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Rich Trott <[email protected]>
1 parent 2b7273b commit d60c487

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)