From 68f165edaf72fa06f816565a21470b7625c10c07 Mon Sep 17 00:00:00 2001 From: Huw Wilkins Date: Thu, 10 Oct 2024 16:04:24 +1100 Subject: [PATCH] refactor: enable test --- ui/src/util/basePaths.spec.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ui/src/util/basePaths.spec.ts b/ui/src/util/basePaths.spec.ts index a059fd9e4..cc661e780 100644 --- a/ui/src/util/basePaths.spec.ts +++ b/ui/src/util/basePaths.spec.ts @@ -49,11 +49,11 @@ describe("calculateBasePath", () => { expect(result).toBe("/test/"); }); - // it("handles full URL", () => { - // setBase("http://example.com/test/"); - // const result = calculateBasePath(); - // expect(result).toBe("/test/"); - // }); + it("handles full URL", () => { + setBase("http://example.com/test/"); + const result = calculateBasePath(); + expect(result).toBe("/test/"); + }); it("resolves if the base is not provided", () => { const result = calculateBasePath();