Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ esm-snapshot-mutator.js
File
esm-snapshot-mutator.js
test/fixtures/es-modules/esm-snapshot-mutator.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
'use strict'
;
2
const
shouldSnapshotFilePath = require.resolve(
'./esm-snapshot.js'
);
3
require(
'./esm-snapshot.js'
);
4
require.cache[shouldSnapshotFilePath].exports++;
Callers
nothing calls this directly
Calls
2
require
Function · 0.70
resolve
Method · 0.45
Tested by
no test coverage detected