MCPcopy Index your code
hub / github.com/nodejs/node / test-vm-contextified-script-leak.js

File test-vm-contextified-script-leak.js

test/es-module/test-vm-contextified-script-leak.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Flags: --max-old-space-size=16 --trace-gc
2'use strict';
3
4// This tests that vm.Script with dynamic import callback does not leak.

Callers

nothing calls this directly

Calls 2

checkIfCollectableFunction · 0.85
requireFunction · 0.50

Tested by

no test coverage detected