Skip to content

Commit

Permalink
fix(typo): wasmUnit8Array -> xUintx
Browse files Browse the repository at this point in the history
  • Loading branch information
nom4dv3 committed Nov 13, 2023
1 parent c65f9ba commit e8cc5c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/utils/wasm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ export async function instantiate(module: any, imports: any = {}) {
return exports
}

export const instantiateWasm = async (wasmUnit8Array: Uint8Array) => {
export const instantiateWasm = async (wasmUint8Array: Uint8Array) => {
return instantiate(
await (async () => {
return globalThis.WebAssembly.compile(
wasmUnit8Array.buffer,
wasmUint8Array.buffer,
)
})(),
{},
Expand Down

0 comments on commit e8cc5c4

Please sign in to comment.