From 9628720f87a7a5d218cdd7b2d22de4ef2be35b92 Mon Sep 17 00:00:00 2001 From: dswbx Date: Sat, 14 Mar 2026 13:57:16 +0100 Subject: [PATCH] test(AppReduced): remove redundant `admin_base_path` --- app/__test__/ui/client/utils/AppReduced.spec.ts | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/app/__test__/ui/client/utils/AppReduced.spec.ts b/app/__test__/ui/client/utils/AppReduced.spec.ts index 58a7b3f8..f0471fc9 100644 --- a/app/__test__/ui/client/utils/AppReduced.spec.ts +++ b/app/__test__/ui/client/utils/AppReduced.spec.ts @@ -206,8 +206,7 @@ describe("AppReduced", () => { describe("withBasePath - double slash fix (admin_basepath with trailing slash)", () => { it("should not produce double slashes when admin_basepath has trailing slash", () => { const options: BkndAdminProps["config"] = { - basepath: "/", - admin_basepath: "/admin/", + basepath: "/admin", logo_return_path: "/", }; @@ -220,8 +219,7 @@ describe("AppReduced", () => { it("should work correctly when admin_basepath has no trailing slash", () => { const options: BkndAdminProps["config"] = { - basepath: "/", - admin_basepath: "/admin", + basepath: "/admin", logo_return_path: "/", }; @@ -233,8 +231,7 @@ describe("AppReduced", () => { it("should handle absolute paths with admin_basepath trailing slash", () => { const options: BkndAdminProps["config"] = { - basepath: "/", - admin_basepath: "/admin/", + basepath: "/admin", logo_return_path: "/", }; @@ -247,8 +244,7 @@ describe("AppReduced", () => { it("should handle settings path with admin_basepath trailing slash", () => { const options: BkndAdminProps["config"] = { - basepath: "/", - admin_basepath: "/admin/", + basepath: "/admin", logo_return_path: "/", };