From 07e1fd0aa8e59091244550b4d9545feb3e5d03d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=86=E9=80=8A?= <72533078+UncertaintyDeterminesYou4ndMe@users.noreply.github.com> Date: Mon, 20 Jul 2026 13:43:09 +0800 Subject: [PATCH] style: fix Biome format in settings-store-usage.test.ts main's typecheck CI job (Biome check --write=false) fails on this file since #1254; rewrap the two tool_call literals the formatter expects. Formatting only, no behavior change. --- .../__tests__/settings-store-usage.test.ts | 20 +++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/packages/storage/src/__tests__/settings-store-usage.test.ts b/packages/storage/src/__tests__/settings-store-usage.test.ts index 90127cd23a..e29a046e88 100644 --- a/packages/storage/src/__tests__/settings-store-usage.test.ts +++ b/packages/storage/src/__tests__/settings-store-usage.test.ts @@ -138,7 +138,15 @@ describe('SettingsStore.usageStats request logs', () => { // are only unique within a session, so both sessions reuse `bash`/`read` // ids to prove result matching stays session-scoped after the merge. const bashTurn = (sessionId: string, error: boolean, duration: number): StoredMessage[] => [ - { type: 'tool_call', id: 'bash', turnId: 't1', ts: 10, toolName: 'Bash', displayName: '终端', args: {} }, + { + type: 'tool_call', + id: 'bash', + turnId: 't1', + ts: 10, + toolName: 'Bash', + displayName: '终端', + args: {}, + }, { type: 'tool_result', id: 'bash-result', @@ -153,7 +161,15 @@ describe('SettingsStore.usageStats request logs', () => { await seedSession(workspaceRoot, makeHeader({ id: 'session-a' }), [ ...bashTurn('session-a', false, 20), - { type: 'tool_call', id: 'read', turnId: 't1', ts: 12, toolName: 'Read', displayName: '读取', args: {} }, + { + type: 'tool_call', + id: 'read', + turnId: 't1', + ts: 12, + toolName: 'Read', + displayName: '读取', + args: {}, + }, { type: 'tool_result', id: 'read-result',