Files
piik/tests/relay-capability.test.ts
T
AAA 5d4a67cf9e refactor(web): retire replaced Browser page orchestration
Remove 32 private legacy Browser source files (16,847 lines) with no current product, preview, website or probe consumers.

Retire 20 owner-only test files (8,665 lines), prune six mixed test files while retaining shared coverage, and link published default-name behavior to immutable public 2.x source.

Validation: TypeScript project and Browser adapter checks; ordinary Vitest 86 files / 1,511 tests; documentation and repository hygiene. Retained 280 entry, preview and probe source files are unchanged.
2026-10-31 23:48:12 -04:00

17 lines
401 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,
});
});
});