We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63f9a13 commit c232542Copy full SHA for c232542
test/parallel/test-async-hooks-disable-during-promise.js
@@ -1,6 +1,7 @@
1
'use strict';
2
const common = require('../common');
3
const async_hooks = require('async_hooks');
4
+common.crashOnUnhandledRejection();
5
6
const hook = async_hooks.createHook({
7
init: common.mustCall(2),
0 commit comments