Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
zapashcanon committed Oct 7, 2024
1 parent 41f8956 commit 965167f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test_wasm/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,9 @@ const code = fetch(src, {
});
const imports = {"js_runtime":bindings}
const wasmModule = await WebAssembly.instantiateStreaming(code, imports).then(module => {
console.log("module loaded!");
console.log(typeof(module.instance.exports));
console.log("module loaded! listing its exports:");
for (let key in module.instance.exports) {
console.log(key);
}
console.log("done");
console.log("done!");
});

0 comments on commit 965167f

Please sign in to comment.