Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ wrong-import-after-module-mocking.js
File
wrong-import-after-module-mocking.js
test/fixtures/module-mocking/wrong-import-after-module-mocking.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ mock } from
'node:test'
;
2
3
try {
4
mock.module?.(
'Whatever, this is not significant'
, { namedExports: {} });
Callers
nothing calls this directly
Calls
2
module
Method · 0.45
log
Method · 0.45
Tested by
no test coverage detected