style(core): apply prettier to the new convergence-reminder tests

The Lint lane's whole-repo prettier check was short-circuited by the stale
freshness gate, so these lines were never formatted. Formatting only.

Co-authored-by: Qwen-Coder <[email protected]>
Patrol-Run: qwen-pr-conflict/jmv2f2dk80w
This commit is contained in:
jinjing.zzjandQwen-Coder committed 2026-10-10 21:39:17 +08:00
1 parent fcb216bde8
commit 69f2e3130d
1 file changed
+9 -3
+9 -3
View File
@@ -8446,7 +8446,9 @@ Other open files:
expect(reminderIndex).toBeGreaterThanOrEqual(0);
const responseIndex = reminderRequest.findIndex(
(part) =>
typeof part === 'object' && part !== null && 'functionResponse' in part,
typeof part === 'object' &&
part !== null &&
'functionResponse' in part,
);
expect(reminderIndex).toBeGreaterThan(responseIndex);
@@ -8456,7 +8458,8 @@ Other open files:
await run([fnResponse('read_file', { ok: true })], promptId, {
type: SendMessageType.ToolResult,
});
const afterReminderRequest = mockTurnRunFn.mock.lastCall?.[1] as unknown[];
const afterReminderRequest = mockTurnRunFn.mock
.lastCall?.[1] as unknown[];
expect(explorationReminders(afterReminderRequest)).toHaveLength(0);
// A new user interaction resets the phase: the count starts over, so
@@ -8595,7 +8598,10 @@ Other open files:
await run([{ text: 'explore' }], promptId);
mockTurnRunFn.mockReturnValueOnce(
turnStream(toolCallRequest('call-2', 'read_file', { path: 'b' }), stopped()),
turnStream(
toolCallRequest('call-2', 'read_file', { path: 'b' }),
stopped(),
),
);
await run([fnResponse('read_file', { ok: true })], promptId, {
type: SendMessageType.ToolResult,