test: use crashOnUnhandledRejection

Add common.crashOnUnhandledRejection to test-microtask-queue-integration.js

PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
Chiahao Lin authored and Myles Borins committed 2017-12-12 03:27:13 -05:00
1 parent 965051dc14
commit 25ff8bef18
1 file changed
+3 -1
@@ -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);