From 58acc3748ce3f71b20f030f2a865425cb636b4d7 Mon Sep 17 00:00:00 2001 From: Chiahao Lin Date: Wed, 22 Nov 2017 16:32:52 +0800 Subject: [PATCH] test: use crashOnUnhandledRejection Add common.crashOnUnhandledRejection to test/parallell/test-microtask-queue-integration.js --- test/parallel/test-microtask-queue-integration.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/parallel/test-microtask-queue-integration.js b/test/parallel/test-microtask-queue-integration.js index 57c384f8ba8177..a7241d99ee9395 100644 --- a/test/parallel/test-microtask-queue-integration.js +++ b/test/parallel/test-microtask-queue-integration.js @@ -20,9 +20,11 @@ // USE OR OTHER DEALINGS IN THE SOFTWARE. 'use strict'; -require('../common'); +const common = require('../common'); const assert = require('assert'); +common.crashOnUnhandledRejection(); + const implementations = [ function(fn) { Promise.resolve().then(fn);