feat: integrate pixel teacher presence and resilient classroom preview
This commit is contained in:
@@ -575,7 +575,9 @@ describe('Pi Conversation runtime', () => {
|
||||
await expect(continuation).resolves.toMatchObject({ mode: 'follow-up', queuePosition: 1 });
|
||||
workers.get(left.id)!.emit({ type: 'agent_settled' });
|
||||
await expect.poll(async () => (await runtime.getSnapshot(left.id)).queue.items).toEqual([]);
|
||||
expect((await runtime.getSnapshot(left.id)).run.status).toBe('idle');
|
||||
expect((await runtime.getSnapshot(left.id)).run).toMatchObject({
|
||||
status: 'idle', runId: 'run-fixed', terminalReason: 'completed',
|
||||
});
|
||||
expect(activeBackgroundLeases).toBe(0);
|
||||
const settledNodes = (await runtime.getSnapshot(left.id)).nodes;
|
||||
expect(settledNodes).toEqual(checkpoint.nodes);
|
||||
|
||||
Reference in New Issue
Block a user