style(vscode): format chat-autocomplete-utils test

This commit is contained in:
Igor Šćekić
2026-02-20 14:23:13 +01:00
parent 40e5cd57ac
commit 0c691460e9
@@ -86,9 +86,7 @@ describe("buildChatPrefix", () => {
})
it("uses last segment of file path as filename", () => {
const editors = [
{ filePath: "/deep/path/to/myfile.ts", languageId: "typescript", visibleRanges: [] },
]
const editors = [{ filePath: "/deep/path/to/myfile.ts", languageId: "typescript", visibleRanges: [] }]
const result = buildChatPrefix("q", editors)
expect(result).toContain("myfile.ts")
expect(result).not.toContain("deep/path")