MCPcopy Index your code
hub / github.com/nodejs/node / test-async-hooks-prevent-double-destroy.js

File test-async-hooks-prevent-double-destroy.js

test/parallel/test-async-hooks-prevent-double-destroy.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1'use strict';
2// Flags: --expose_gc
3
4// This test ensures that userland-only AsyncResources cause a destroy event to

Callers

nothing calls this directly

Calls 6

createHookMethod · 0.80
requireFunction · 0.50
setImmediateFunction · 0.50
enableMethod · 0.45
emitDestroyMethod · 0.45
disableMethod · 0.45

Tested by

no test coverage detected