10 lines
357 B
TypeScript
10 lines
357 B
TypeScript
import { describe, expect, it } from "vitest";
|
|
import { applicationUrl } from "./application-url";
|
|
|
|
describe("applicationUrl", () => {
|
|
it("builds browser redirects from the configured public application URL", () => {
|
|
expect(applicationUrl("/welcome", "https://portal.somc.club"))
|
|
.toEqual(new URL("https://portal.somc.club/welcome"));
|
|
});
|
|
});
|