mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
test: add common.crashOnHandleRejection
PR-URL: https://github.com/nodejs/node/pull/17225 Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
0daf33e5e7
commit
2b5bc37bca
1 file changed
+2
-1
@@ -1,8 +1,9 @@
|
||||
'use strict';
|
||||
require('../common');
|
||||
const common = require('../common');
|
||||
const assert = require('assert');
|
||||
|
||||
const net = require('net');
|
||||
common.crashOnUnhandledRejection();
|
||||
|
||||
// Sets the server's maxConnections property to 1.
|
||||
// Open 2 connections (connection 0 and connection 1).
|
||||
|
||||
Reference in new issue
Block a user