Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/webpack/webpack
/ index.js
File
index.js
test/cases/wasm/simple/index.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
it(
"should allow to run a WebAssembly module (indirect)"
,
function
() {
2
return
import
(
"./module"
).then(
function
(module) {
3
const
result = module.run();
4
expect(result).toEqual(42);
Callers
nothing calls this directly
Calls
4
it
Function · 0.50
run
Method · 0.45
add
Method · 0.45
getNumber
Method · 0.45
Tested by
no test coverage detected