Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ test-module-hooks-import-wasm.mjs
File
test-module-hooks-import-wasm.mjs
test/module-hooks/test-module-hooks-import-wasm.mjs:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
// This tests that module.registerHooks() can be used to support unknown formats, like
2
// import(wasm)
3
import
{ mustCall } from
'../common/index.mjs'
;
4
Callers
nothing calls this directly
Calls
10
registerHooks
Function · 0.85
createRequire
Function · 0.85
add2
Function · 0.85
match
Method · 0.65
mustCall
Function · 0.50
readFileSync
Function · 0.50
require
Function · 0.50
add
Function · 0.50
join
Method · 0.45
from
Method · 0.45
Tested by
no test coverage detected