MCPcopy Index your code
hub / github.com/nodejs/node / test-source-map-cjs-require-cache.js

File test-source-map-cjs-require-cache.js

test/parallel/test-source-map-cjs-require-cache.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Flags: --enable-source-maps --max-old-space-size=10 --expose-gc
2
3/**
4 * This test verifies that the source map of a CJS module is cleared after the

Callers

nothing calls this directly

Calls 5

gcUntilFunction · 0.85
findSourceMapFunction · 0.85
runFunction · 0.70
requireFunction · 0.50
resolveMethod · 0.45

Tested by

no test coverage detected