Skip to content

Commit

Permalink
fix(loader): updated test cases to pass format
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterFarber committed Oct 11, 2024
1 parent c763232 commit 5d1f2e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion loader/test/emscripten2.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ describe('loader', async () => {
new Response(
Readable.toWeb(createReadStream('./test/process/process.wasm')),
{ headers: { 'Content-Type': 'application/wasm' } }
)
),
{ format: 'wasm32-unknown-emscripten2' }
)

const handle = await AoLoader((info, receiveInstance) => {
Expand Down
3 changes: 2 additions & 1 deletion loader/test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ describe('loader', async () => {
new Response(
Readable.toWeb(createReadStream('./test/legacy/process.wasm')),
{ headers: { 'Content-Type': 'application/wasm' } }
)
),
{ format: 'wasm32-unknown-emscripten' }
)

const handle = await AoLoader((info, receiveInstance) => {
Expand Down

0 comments on commit 5d1f2e3

Please sign in to comment.