test(core): format wake timeline assertion

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Robin Braumann 2026-09-15 10:55:14 +02:00
parent 50e682d220
commit af970b0ade
No known key found for this signature in database

View File

@ -1113,7 +1113,10 @@ describe('AgentExecutionOrchestratorService', () => {
assistantResponse: 'Handled the background result.',
// The signal leads the recorded timeline so the preview shows the tasks.
timeline: [
expect.objectContaining({ type: 'background-task-signal', signal: backgroundJobSignal }),
expect.objectContaining({
type: 'background-task-signal',
signal: backgroundJobSignal,
}),
expect.objectContaining({ type: 'text', content: 'Handled the background result.' }),
],
}),