Skip to content

Commit

Permalink
refactor: enable test
Browse files Browse the repository at this point in the history
  • Loading branch information
huwshimi authored and shipperizer committed Oct 10, 2024
1 parent 3a1e053 commit 68f165e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ui/src/util/basePaths.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 68f165e

Please sign in to comment.