From 7af1ff100bc6230f4b500470477382db119abedc Mon Sep 17 00:00:00 2001 From: Ben Delarre Date: Mon, 30 Jan 2023 14:39:00 -0800 Subject: [PATCH] Fix formatting in same_window.comlink.test --- tests/same_window.comlink.test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/same_window.comlink.test.js b/tests/same_window.comlink.test.js index ce7debe7..9fea1292 100644 --- a/tests/same_window.comlink.test.js +++ b/tests/same_window.comlink.test.js @@ -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) {