test(gateway): complete placement read policy fixture

Supply the policyConfig required by SessionRowReadView after scoped session authorization was introduced. This restores the gateway-root type check without weakening the production contract or changing lifecycle assertions.
This commit is contained in:
Peter Steinberger 2026-09-23 08:52:04 -07:00
parent b28166ffb9
commit 0901260323

View file

@ -9,7 +9,11 @@ import type { WorkerSessionPlacementProjection } from "./worker-environments/pla
function placementReadView() {
const projection: SessionRowReadView & { isCurrent(): boolean } = {
state: { cfg: {}, rowContext: buildSessionListRowMetadataContext({ now: 1 }) },
state: {
cfg: {},
policyConfig: {},
rowContext: buildSessionListRowMetadataContext({ now: 1 }),
},
describe: () => undefined,
selectEntries: () => [],
present: () => {