mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-24 16:02:55 +08:00
refactor: fix test
This commit is contained in:
@@ -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
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user