Files
Piik/tests/relay-capability.test.ts
T
AAA da47189fc3 refactor: unify Go runtime and audited frontend
Squash integration of the reviewed Go core, frontend audit fixes, release tooling, and deployment hygiene. CI passed all Server/Client jobs.
2026-09-06 23:26:01 +08:00

16 lines
400 B
TypeScript

import { describe, expect, it } from "vitest";
import {
relayCapacityMessageForBrowser,
} from "../src/client/media/relay-capability.ts";
describe("browser relay capability", () => {
it("advertises the endpoint capability envelope without a Browser tier", () => {
expect(relayCapacityMessageForBrowser()).toEqual({
type: "relay-capacity",
downstreamEdges: 3,
});
});
});