test(AppReduced): remove redundant admin_base_path

This commit is contained in:
dswbx
2026-03-14 13:57:16 +01:00
committed by Cameron Pak
parent ff216ec4e5
commit 9628720f87
@@ -206,8 +206,7 @@ describe("AppReduced", () => {
describe("withBasePath - double slash fix (admin_basepath with trailing slash)", () => { describe("withBasePath - double slash fix (admin_basepath with trailing slash)", () => {
it("should not produce double slashes when admin_basepath has trailing slash", () => { it("should not produce double slashes when admin_basepath has trailing slash", () => {
const options: BkndAdminProps["config"] = { const options: BkndAdminProps["config"] = {
basepath: "/", basepath: "/admin",
admin_basepath: "/admin/",
logo_return_path: "/", logo_return_path: "/",
}; };
@@ -220,8 +219,7 @@ describe("AppReduced", () => {
it("should work correctly when admin_basepath has no trailing slash", () => { it("should work correctly when admin_basepath has no trailing slash", () => {
const options: BkndAdminProps["config"] = { const options: BkndAdminProps["config"] = {
basepath: "/", basepath: "/admin",
admin_basepath: "/admin",
logo_return_path: "/", logo_return_path: "/",
}; };
@@ -233,8 +231,7 @@ describe("AppReduced", () => {
it("should handle absolute paths with admin_basepath trailing slash", () => { it("should handle absolute paths with admin_basepath trailing slash", () => {
const options: BkndAdminProps["config"] = { const options: BkndAdminProps["config"] = {
basepath: "/", basepath: "/admin",
admin_basepath: "/admin/",
logo_return_path: "/", logo_return_path: "/",
}; };
@@ -247,8 +244,7 @@ describe("AppReduced", () => {
it("should handle settings path with admin_basepath trailing slash", () => { it("should handle settings path with admin_basepath trailing slash", () => {
const options: BkndAdminProps["config"] = { const options: BkndAdminProps["config"] = {
basepath: "/", basepath: "/admin",
admin_basepath: "/admin/",
logo_return_path: "/", logo_return_path: "/",
}; };