test(subagent-acp): allow provider fallback warning

This commit is contained in:
pku-xht committed 2026-08-20 20:02:57 +08:00
1 parent a7b64e24ee
commit 6532fff458
1 file changed
+2 -2
@@ -784,9 +784,9 @@ describe('dsh-subagent-acp', () => {
const run = await ctx.subagents.start('acp', request())
const result = await run.result
expect(result.stopReason).toBe('error')
expect(warnings).toEqual([
expect(warnings).toContainEqual(
expect.stringContaining('subagent-acp "acp": child run failed (error):'),
])
)
await run.dispose()
})