From 39d0bd100a4f7a30404d28a7adb38f15e5eac741 Mon Sep 17 00:00:00 2001 From: Kasim Necdet Percinel Date: Tue, 21 Jan 2025 21:01:25 +0000 Subject: [PATCH] preetier --- tests/desktop/normal/urlsharing.spec.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/desktop/normal/urlsharing.spec.ts b/tests/desktop/normal/urlsharing.spec.ts index ee95e258d..6e9ba9b0b 100644 --- a/tests/desktop/normal/urlsharing.spec.ts +++ b/tests/desktop/normal/urlsharing.spec.ts @@ -12,7 +12,7 @@ test("Non-Existing Shared URLs Should Be Reported To User", async ({ page, conte }); /** - * This test checks if shortURLs are correctly being overwritten by .htacces + * This test checks if shortURLs are correctly being overwritten by .htacces */ test("Shared URLs redirection should be done correctly", async ({ page }, info) => { let hv = new Helioviewer(page); @@ -85,6 +85,7 @@ test("Shared URLs should produce pages, exactly like they shared", async ({ page const afterScreenshot = (await page.screenshot()).toString("base64"); - expect(Buffer.from(afterScreenshot, "base64")).toMatchSnapshot("before-url-sharing-screenshot.png",{ maxDiffPixelRatio: 0.01 } ); - + expect(Buffer.from(afterScreenshot, "base64")).toMatchSnapshot("before-url-sharing-screenshot.png", { + maxDiffPixelRatio: 0.01 + }); });