Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Raphaelowo 2026-07-14 02:00:05 +08:00 committed by GitHub
parent 4225971f03
commit 3ab3eca218
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -120,8 +120,7 @@ describe('formatToolUse', () => {
})
it('shortens Windows paths in file tool summaries', () => {
const result = formatToolUse('Read', {file_path: 'C:\\Users\\test\\project\\src\\index.ts'})
const result = formatToolUse('Read', { file_path: 'C:\\Users\\test\\project\\src\\index.ts' })
expect(result).toBe('🔧 Read …/project/src/index.ts')
})
})