File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,6 @@ it("should raw memory export without data", function() {
1010 return import ( "./memory2.wasm" ) . then ( function ( wasm ) {
1111 expect ( wasm . memory ) . toBeInstanceOf ( WebAssembly . Memory ) ;
1212 expect ( wasm . memory . buffer ) . toBeInstanceOf ( ArrayBuffer ) ;
13- expect ( wasm . memory . buffer . byLength ) . toBe ( 1 << 16 ) ;
13+ expect ( wasm . memory . buffer . byteLength ) . toBe ( 1 << 16 ) ;
1414 } ) ;
1515} ) ;
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ it("should support tables", function() {
22 return import ( "./wasm-table.wasm" ) . then ( function ( wasm ) {
33 expect ( wasm . callByIndex ( 0 ) ) . toEqual ( 42 ) ;
44 expect ( wasm . callByIndex ( 1 ) ) . toEqual ( 13 ) ;
5- expect ( ( ) => wasm . callByIndex ( 2 ) ) . toThrow ( "fefef " ) ;
5+ expect ( ( ) => wasm . callByIndex ( 2 ) ) . toThrow ( "invalid function " ) ;
66 } ) ;
77} ) ;
88
You can’t perform that action at this time.
0 commit comments