From c8fc97884771df19028999541320e6e158518684 Mon Sep 17 00:00:00 2001 From: Orlando Date: Sun, 16 Jun 2024 22:01:50 +0100 Subject: [PATCH] empty obj --- src/helpers/setUrlSearchParams.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/helpers/setUrlSearchParams.test.ts b/src/helpers/setUrlSearchParams.test.ts index 7bdf128..e1c46cf 100644 --- a/src/helpers/setUrlSearchParams.test.ts +++ b/src/helpers/setUrlSearchParams.test.ts @@ -13,6 +13,7 @@ describe("setUrlSearchParams", () => { expect(setUrlSearchParams("/signin/", { ok: true })).toBe( "/signin/?ok=true" ); + expect(setUrlSearchParams("/signin/", {})).toBe("/signin/"); expect(setUrlSearchParams("/signin?")).toBe("/signin"); expect(setUrlSearchParams("/signin?in")).toBe("/signin?in"); expect(setUrlSearchParams("/signin?in#sec")).toBe("/signin?in#sec");