Skip to content

Commit b874001

Browse files
committed
test(runtime-host): restore steering queue fixture helper after rebase
Generated-by: maka
1 parent dc4c58a commit b874001

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

packages/runtime-host/src/__tests__/session-projector.test.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -510,6 +510,13 @@ function deltaFrame(
510510
};
511511
}
512512

513+
function queue(
514+
queueRevision: number,
515+
steering: readonly SteeringMessageSnapshot[],
516+
): SessionContinuitySnapshot['queue'] {
517+
return { hostEpoch: 'host-1', queueRevision, steering, followup: [] };
518+
}
519+
513520
function snapshot(overrides: Partial<SessionContinuitySnapshot> = {}): SessionContinuitySnapshot {
514521
return {
515522
schemaVersion: SESSION_CONTINUITY_SCHEMA_VERSION,

0 commit comments

Comments
 (0)