We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9cc4ebb commit ef5a291Copy full SHA for ef5a291
2 files changed
test/cases/wasm/decoding/index.js
@@ -10,6 +10,6 @@ it("should raw memory export without data", function() {
10
return import("./memory2.wasm").then(function(wasm) {
11
expect(wasm.memory).toBeInstanceOf(WebAssembly.Memory);
12
expect(wasm.memory.buffer).toBeInstanceOf(ArrayBuffer);
13
- expect(wasm.memory.buffer.byLength).toBe(1 << 16);
+ expect(wasm.memory.buffer.byteLength).toBe(1 << 16);
14
});
15
test/cases/wasm/table/index.js
@@ -2,7 +2,7 @@ it("should support tables", function() {
2
return import("./wasm-table.wasm").then(function(wasm) {
3
expect(wasm.callByIndex(0)).toEqual(42);
4
expect(wasm.callByIndex(1)).toEqual(13);
5
- expect(() => wasm.callByIndex(2)).toThrow("fefef");
+ expect(() => wasm.callByIndex(2)).toThrow("invalid function");
6
7
8
0 commit comments