Skip to content

Commit

Permalink
test: use crashOnUnhandledRejection
Browse files Browse the repository at this point in the history
Add common.crashOnUnhandledRejection to test-microtask-queue-integration.js

PR-URL: #17219
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
purepennons authored and MylesBorins committed Dec 19, 2017
1 parent e7ca894 commit 289ebb1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/parallel/test-microtask-queue-integration.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
'use strict';
require('../common');
const common = require('../common');
const assert = require('assert');

common.crashOnUnhandledRejection();

const implementations = [
function(fn) {
Promise.resolve().then(fn);
Expand Down

0 comments on commit 289ebb1

Please sign in to comment.