mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-10-29 18:52:45 +08:00
style(vscode): format chat-autocomplete-utils test
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user