mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-21 14:07:20 +08:00
test(cli): normalize profile fixture paths
This commit is contained in:
@@ -4,7 +4,7 @@ import { TestProfile } from "../../script/kilocode/test-profile"
|
||||
|
||||
const root = path.resolve(import.meta.dir, "..")
|
||||
const glob = new Bun.Glob("**/*.test.{ts,tsx}")
|
||||
const all = (await Array.fromAsync(glob.scan({ cwd: root }))).sort()
|
||||
const all = (await Array.fromAsync(glob.scan({ cwd: root }))).map((file) => file.replaceAll("\\", "/")).sort()
|
||||
|
||||
describe("test profiles", () => {
|
||||
test("darwin profile contains valid test files", () => {
|
||||
|
||||
Reference in New Issue
Block a user