test(subagent): align continuation fixtures with session API

This commit is contained in:
imccyu
2026-08-01 08:04:02 +08:00
committed by Tianyi Cui
parent f4a65a34e6
commit 9cd3c57b75
2 changed files with 11 additions and 9 deletions
@@ -226,7 +226,7 @@ describe('dsh-subagent-fork', () => {
expect(fresh.seed).toBeUndefined()
// Complete one parent turn, then the prefix is captured once at creation.
parent.followup({ content: [{ type: 'text', text: 'hello' }], source: { kind: 'user' } })
parent.followup(createUserMessage({ content: [{ type: 'text', text: 'hello' }], source: { kind: 'user' } }))
await parent.whenIdle()
const seeded = await provider.prepareContinuable!({
sessionId: SessionId('continuable-seeded'),