Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
toyobayashi committed Oct 30, 2023
1 parent b66239f commit 622976d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/test/emnapitest/emnapi.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module.exports = promise.then(test_typedarray => {
assert.ok(externalResult instanceof Uint8Array)
assert.deepStrictEqual([...externalResult], [0, 1, 2])
const oldSize = test_typedarray.GetWasmMemorySize()
test_typedarray.GrowMemory(0)
test_typedarray.GrowMemory(1)
const newSize = test_typedarray.GetWasmMemorySize()
console.log(`memory grow: ${oldSize} --> ${newSize} (+${newSize - oldSize})`)
if (process.env.EMNAPI_TEST_WASI || process.env.EMNAPI_TEST_WASM32) {
Expand Down

0 comments on commit 622976d

Please sign in to comment.