Skip to content

Commit

Permalink
Fix formatting in same_window.comlink.test
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamind committed Jan 30, 2023
1 parent 1de7cfb commit 7af1ff1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/same_window.comlink.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -639,9 +639,9 @@ describe("Comlink in the same realm", function () {
});

it("can handle unserializable types", async function () {
const thing = Comlink.wrap(this.port1, { value: {}});
Comlink.expose({ value: () => 'boom'}, this.port2);
const thing = Comlink.wrap(this.port1, { value: {} });
Comlink.expose({ value: () => "boom" }, this.port2);

try {
await thing.value;
} catch (err) {
Expand Down

0 comments on commit 7af1ff1

Please sign in to comment.