import { describe, expect, it } from "bun:test"; import { VIEW_HOST_BOOTSTRAP_CAPABILITIES, VIEW_HOST_PLACEMENTS, } from "./view-host-bootstrap.js"; describe("view host bootstrap contract", () => { it("owns stable capability tokens", () => { expect(VIEW_HOST_BOOTSTRAP_CAPABILITIES).toEqual({ RESOLVED_FRAME_BORDER: "gx.view-host.frame-appearance.resolved-border.v1", RESOLVED_FRAME_BORDER_RADIUS: "gx.view-host.frame-appearance.resolved-border-radius.v1", RESOLVED_FRAME_BOX_SHADOW: "gx.view-host.frame-appearance.resolved-box-shadow.v1", }); }); it("owns the supported view placements", () => { expect(VIEW_HOST_PLACEMENTS).toEqual(["docked-top", "docked-bottom"]); }); });