Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d60c487

Browse filesBrowse 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 <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent 2b7273b commit d60c487
Copy full SHA for d60c487

File tree

Expand file treeCollapse file tree

1 file changed

+0
-3
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-3
lines changed
Open diff view settings
Collapse file

‎test/parallel/test-crypto-random.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-crypto-random.js
-3Lines changed: 0 additions & 3 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.