Skip to content

Commit 25ff8be

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 965051d commit 25ff8be

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@
2020
// USE OR OTHER DEALINGS IN THE SOFTWARE.
2121

2222
'use strict';
23-
require('../common');
23+
const common = require('../common');
2424
const assert = require('assert');
2525

26+
common.crashOnUnhandledRejection();
27+
2628
const implementations = [
2729
function(fn) {
2830
Promise.resolve().then(fn);

0 commit comments

Comments
 (0)