From fd75cc278060bbae667ebdd6ddffd4426f0d11fd Mon Sep 17 00:00:00 2001 From: amr-crabnebula Date: Wed, 29 Nov 2023 02:17:35 +0200 Subject: [PATCH] fmt --- bindings/updater/nodejs/__test__/index.spec.mjs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bindings/updater/nodejs/__test__/index.spec.mjs b/bindings/updater/nodejs/__test__/index.spec.mjs index 202e00e6..44de8ba2 100644 --- a/bindings/updater/nodejs/__test__/index.spec.mjs +++ b/bindings/updater/nodejs/__test__/index.spec.mjs @@ -15,7 +15,7 @@ const isMac = process.platform === "darwin"; test("it updates correctly", async (t) => { const UPDATER_PRIVATE_KEY = await fs.readFile( path.join(__dirname, "../../../../crates/updater/tests/dummy.key"), - { encoding: "utf8" } + { encoding: "utf8" }, ); process.chdir(path.join(__dirname, "app")); @@ -35,7 +35,7 @@ test("it updates correctly", async (t) => { privateKey: UPDATER_PRIVATE_KEY, password: "", }, - { verbosity: 0 } + { verbosity: 0 }, ); } catch (e) { console.error("failed to package app"); @@ -115,7 +115,7 @@ test("it updates correctly", async (t) => { "dist", isNsis ? `ElectronApp_0.1.0_x64-setup.exe` - : `ElectronApp_0.1.0_x64_en-US.msi` + : `ElectronApp_0.1.0_x64_en-US.msi`, )}"`; await execa("powershell.exe", [ @@ -138,7 +138,7 @@ test("it updates correctly", async (t) => { ? "installdir/ElectronApp.exe" : isMac ? "ElectronApp.app/Contents/MacOS/ElectronApp" - : `ElectronApp_0.1.0_x86_64.AppImage` + : `ElectronApp_0.1.0_x86_64.AppImage`, ); // save the current creation time @@ -190,7 +190,7 @@ test("it updates correctly", async (t) => { counter += 1; if (counter == 10) { console.error( - "updater test timedout and couldn't verify the update has happened" + "updater test timedout and couldn't verify the update has happened", ); break; }