test(session): align crash checkpoint order
This commit is contained in:
@@ -85,8 +85,8 @@ describe.skipIf(process.platform === 'win32')('semantic checkpoint hard-crash re
|
|||||||
expect(crashed.markerText).toBe('request-dispatched')
|
expect(crashed.markerText).toBe('request-dispatched')
|
||||||
const events = await load(crashed.root)
|
const events = await load(crashed.root)
|
||||||
expect(events.map(event => event.type)).toEqual([
|
expect(events.map(event => event.type)).toEqual([
|
||||||
'agent/inbox/spliced', 'agent/inbox/spliced',
|
'agent/inbox/spliced', 'turn/start', 'agent/inbox/spliced',
|
||||||
'turn/start', 'step/start', 'user/message', 'request/header', 'request/context', 'step/end', 'turn/end',
|
'step/start', 'user/message', 'request/header', 'request/context', 'step/end', 'turn/end',
|
||||||
])
|
])
|
||||||
expect(events.at(-1)).toMatchObject({
|
expect(events.at(-1)).toMatchObject({
|
||||||
type: 'turn/end', data: { reason: { kind: 'interrupted' } },
|
type: 'turn/end', data: { reason: { kind: 'interrupted' } },
|
||||||
|
|||||||
Reference in New Issue
Block a user