Files
copilotkit__copilotkit/showcase/scripts/lib/__tests__/railway-graphql.test.ts
Jordan Ritter 8714ab569b chore(showcase): apply oxfmt formatting across showcase scripts and shells
oxfmt --write normalized formatting on showcase scripts, the four shells, and the
new oxlint rule; required for the repo-root oxfmt --check CI gate.
2026-05-29 11:45:16 -07:00

15 lines
477 B
TypeScript

import { describe, expect, it } from "vitest";
import { RAILWAY_GRAPHQL_ENDPOINT } from "../railway-graphql";
describe("railway-graphql", () => {
it("uses the canonical backboard.railway.app host", () => {
expect(RAILWAY_GRAPHQL_ENDPOINT).toBe(
"https://backboard.railway.app/graphql/v2",
);
});
it("never resolves to the .com host (historical drift target)", () => {
expect(RAILWAY_GRAPHQL_ENDPOINT).not.toContain("backboard.railway.com");
});
});