File: exec.tjs

package info (click to toggle)
node-webassemblyjs 1.11.0%2Bdfsg%2B~cs10.10.16-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 8,040 kB
  • sloc: javascript: 28,630; makefile: 84; sh: 42; ansic: 16
file content (7 lines) | stat: -rw-r--r-- 213 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
it("should throw when calling the exported function", () => {
  return WebAssembly.instantiate(wasmmodule).then(m => {
    const fn = m.instance.exports.test;

    assert.throws(fn, "i64 in signature");
  });
});