test(subagent): cover Claude limit subtypes

This commit is contained in:
pku-xht committed 2026-08-24 18:30:49 +08:00
1 parent 7d30a39619
commit f76cce2fc2
1 file changed
+2
@@ -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)])