We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72a7147 commit f958b24Copy full SHA for f958b24
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