refactor: fix test

This commit is contained in:
Catriel Müller
2026-03-17 18:10:43 -03:00
parent 3ab78783bb
commit 95af221084
+2 -2
View File
@@ -3,10 +3,10 @@ import { Database } from "../../src/storage/db"
describe("Database.file", () => {
test("uses the shared database for latest", () => {
expect(Database.file("latest")).toBe("opencode.db")
expect(Database.file("latest")).toBe("kilo.db") // kilocode_change
})
test("sanitizes preview channels for filenames", () => {
expect(Database.file("fix/windows-modified-files-tracking")).toBe("opencode-fix-windows-modified-files-tracking.db")
expect(Database.file("fix/windows-modified-files-tracking")).toBe("kilo-fix-windows-modified-files-tracking.db") // kilocode_change
})
})