mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
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:
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);
|
||||
|
||||
Reference in new issue
Block a user