1 2 3 4 5 6 7 8 9import { expect, test } from "vitest"; import { getTokensEndpoint } from "./utils.js"; test("returns the correct endpoint URL", () => { expect(getTokensEndpoint("https://example.com")).toBe( "https://example.com/api/v1/trusted_publishing/tokens", ); });