From 0e5ff6f44b8c1fe1ed7ceb6d2a60049042b7ea66 Mon Sep 17 00:00:00 2001 From: yozian Date: Wed, 22 Nov 2017 16:18:37 +0800 Subject: [PATCH] test: use common.crashOnUnhandledRejection Add common.crashOnUnhandledRejection to test/sequential/test-inspector-break-e.js PR-URL: https://github.com/nodejs/node/pull/17242 Reviewed-By: Gireesh Punathil Reviewed-By: Benjamin Gruenbaum Reviewed-By: Anatoli Papirovski Reviewed-By: Colin Ihrig Reviewed-By: James M Snell Reviewed-By: Myles Borins --- test/sequential/test-inspector-break-e.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/sequential/test-inspector-break-e.js b/test/sequential/test-inspector-break-e.js index 1a8f8ca50d3de1..9ae47253f49484 100644 --- a/test/sequential/test-inspector-break-e.js +++ b/test/sequential/test-inspector-break-e.js @@ -2,6 +2,7 @@ const common = require('../common'); common.skipIfInspectorDisabled(); +common.crashOnUnhandledRejection(); const assert = require('assert'); const { NodeInstance } = require('../common/inspector-helper.js');