Skip to content

Commit 50255b3

Browse files
committed
test(runtime-host): include background activity in WebSocket catalogs
Update remote catalog assertions for the Host-owned idle projection on created and renamed Sessions. Generated-by: Codex
1 parent 436c24e commit 50255b3

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

‎packages/runtime-host/src/__tests__/authenticated-websocket.test.ts‎

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,11 @@ test('one Local IPC owner and one authenticated WebSocket Client control the sam
284284
}),
285285
{
286286
kind: 'session',
287-
session: { ...created, liveRunState: KNOWN_EMPTY_LIVE_RUN_STATE },
287+
session: {
288+
...created,
289+
liveRunState: KNOWN_EMPTY_LIVE_RUN_STATE,
290+
backgroundActivity: 'idle',
291+
},
288292
},
289293
);
290294

@@ -306,7 +310,11 @@ test('one Local IPC owner and one authenticated WebSocket Client control the sam
306310
renamed.kind === 'committed'
307311
? {
308312
kind: 'session',
309-
session: { ...renamed.session, liveRunState: KNOWN_EMPTY_LIVE_RUN_STATE },
313+
session: {
314+
...renamed.session,
315+
liveRunState: KNOWN_EMPTY_LIVE_RUN_STATE,
316+
backgroundActivity: 'idle',
317+
},
310318
}
311319
: assert.fail('Remote Session rename did not commit'),
312320
);

0 commit comments

Comments
 (0)