Skip to content

Commit 289ebb1

Browse files
purepennonsMylesBorins
authored andcommitted
test: use crashOnUnhandledRejection
Add common.crashOnUnhandledRejection to test-microtask-queue-integration.js PR-URL: #17219 Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent e7ca894 commit 289ebb1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/parallel/test-microtask-queue-integration.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
'use strict';
2-
require('../common');
2+
const common = require('../common');
33
const assert = require('assert');
44

5+
common.crashOnUnhandledRejection();
6+
57
const implementations = [
68
function(fn) {
79
Promise.resolve().then(fn);

0 commit comments

Comments
 (0)