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:
jackyen authored and Gibson Fahnestock committed 2017-12-20 01:59:13 +00:00
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).