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:
parent
3f19ecda2a
commit
6b56be21a4
@ -1,8 +1,9 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
require('../common');
|
const common = require('../common');
|
||||||
const assert = require('assert');
|
const assert = require('assert');
|
||||||
|
|
||||||
const net = require('net');
|
const net = require('net');
|
||||||
|
common.crashOnUnhandledRejection();
|
||||||
|
|
||||||
// Sets the server's maxConnections property to 1.
|
// Sets the server's maxConnections property to 1.
|
||||||
// Open 2 connections (connection 0 and connection 1).
|
// Open 2 connections (connection 0 and connection 1).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user