Permalink
Browse files

test: use common.crashOnUnhandledRejection

PR-URL: #17215
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
  • Loading branch information...
sj82516 authored and gibfahn committed Nov 23, 2017
1 parent 46dc241 commit b63f51aa7ff742ae990d67b90196b1346b935a98
Showing with 3 additions and 1 deletion.
  1. +3 −1 test/parallel/test-microtask-queue-integration-domain.js
@@ -1,5 +1,5 @@
'use strict';
require('../common');
const common = require('../common');
const assert = require('assert');
// Requiring the domain module here changes the function that is used by node to
@@ -9,6 +9,8 @@ const assert = require('assert');
// removed.
require('domain');
common.crashOnUnhandledRejection();
const implementations = [
function(fn) {
Promise.resolve().then(fn);

0 comments on commit b63f51a

Please sign in to comment.