test(subagent): cover Claude limit subtypes

This commit is contained in:
pku-xht 2026-08-21 05:55:13 +08:00
parent 7d30a39619
commit f76cce2fc2

View file

@ -1077,6 +1077,8 @@ describe('run publication, cancellation, and settlement', () => {
const cases: Array<readonly [ErrorSubtype, string]> = [
['error_during_execution', 'product-error'],
['error_max_turns', 'limit'],
['error_max_budget_usd', 'limit'],
['error_max_structured_output_retries', 'limit'],
]
for (const [subtype, category] of cases) {
const fixture = fakeRun([failure(subtype)])