Skip to content

Commit

Permalink
fix test code.
Browse files Browse the repository at this point in the history
  • Loading branch information
dojyorin committed Jan 20, 2024
1 parent dd2767f commit cbe2caf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/worker.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ Deno.test({

return {
message: result,
transfer: [result]
transfer: [result.buffer]
};
});

const result = await task(sample1, [sample1]);
const result = await task(sample1, [sample1.buffer]);

assertEquals(result, sample2);
}
Expand Down

0 comments on commit cbe2caf

Please sign in to comment.