From 7d802081cefce5d2b1e8c2f4b92c35c423d3862f Mon Sep 17 00:00:00 2001 From: Maurice Date: Thu, 26 Nov 2026 20:04:40 +0100 Subject: [PATCH] test(assistant): replay the changed requests side by side in ANTH-010 --- .../tests/unit/nest/ai-connections/provider-adapters.test.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/tests/unit/nest/ai-connections/provider-adapters.test.ts b/server/tests/unit/nest/ai-connections/provider-adapters.test.ts index 0bcb7fb25..4ff1b2cd5 100644 --- a/server/tests/unit/nest/ai-connections/provider-adapters.test.ts +++ b/server/tests/unit/nest/ai-connections/provider-adapters.test.ts @@ -532,8 +532,7 @@ describe('AnthropicMessagesClient', () => { [followUp(REQUEST), 'claude-opus-5-5'], [followUp(REQUEST, { adapter: 'anthropic-messages', blocks: record.blocks })], ]; - for (const [request, model] of changed) { - const types = await sentTypes(request, model); + for (const types of await Promise.all(changed.map(([request, model]) => sentTypes(request, model)))) { expect(types).not.toContain('thinking'); expect(types).toContain('tool_use'); }