diff options
Diffstat (limited to 'test/fixtures')
-rw-r--r-- | test/fixtures/v8-coverage/async-hooks.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/fixtures/v8-coverage/async-hooks.js b/test/fixtures/v8-coverage/async-hooks.js new file mode 100644 index 0000000000..855f41ed3b --- /dev/null +++ b/test/fixtures/v8-coverage/async-hooks.js @@ -0,0 +1,11 @@ +const async_hooks = require('async_hooks'); +const common = require('../../common'); + +const hook = async_hooks.createHook({ + init: common.mustNotCall(), + before: common.mustNotCall(), + after: common.mustNotCall(), + destroy: common.mustNotCall() +}); + +hook.enable(); |