We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e73c191 commit 11fd745Copy full SHA for 11fd745
test/parallel/test-async-hooks-enable-during-promise.js
@@ -2,6 +2,8 @@
2
const common = require('../common');
3
const async_hooks = require('async_hooks');
4
5
+common.crashOnUnhandledRejection();
6
+
7
Promise.resolve(1).then(common.mustCall(() => {
8
async_hooks.createHook({
9
init: common.mustCall(),
0 commit comments