mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-15 03:31:05 +08:00
test(cli): skip Windows-incompatible opencode tests
This commit is contained in:
@@ -136,6 +136,7 @@ const listWorkspaces = (project: Parameters<WorkspaceOld.Interface["list"]>[0])
|
||||
const getWorkspace = (id: WorkspaceID) => runWorkspace(WorkspaceOld.Service.use((workspace) => workspace.get(id)))
|
||||
const removeWorkspace = (id: WorkspaceID) => runWorkspace(WorkspaceOld.Service.use((workspace) => workspace.remove(id)))
|
||||
const workspaceStatus = () => runWorkspace(WorkspaceOld.Service.use((workspace) => workspace.status()))
|
||||
const winSkip = process.platform === "win32" ? test.skip : test // kilocode_change - git patch application is covered on Linux CI
|
||||
const isWorkspaceSyncing = (id: WorkspaceID) =>
|
||||
runWorkspace(WorkspaceOld.Service.use((workspace) => workspace.isSyncing(id)))
|
||||
const startWorkspaceSyncing = (projectID: ProjectID) => {
|
||||
@@ -663,7 +664,7 @@ describe("workspace-old CRUD", () => {
|
||||
})
|
||||
})
|
||||
|
||||
test("sessionWarp applies source workspace patch to local target workspace", async () => {
|
||||
winSkip("sessionWarp applies source workspace patch to local target workspace", async () => {
|
||||
await withInstance(async (dir) => {
|
||||
const previousType = unique("warp-patch-prev-local")
|
||||
const targetType = unique("warp-patch-target-local")
|
||||
|
||||
@@ -15,6 +15,7 @@ void Log.init({ print: false })
|
||||
|
||||
const original = Flag.KILO_EXPERIMENTAL_HTTPAPI
|
||||
const it = testEffect(Layer.mergeAll(NodeFileSystem.layer, NodePath.layer))
|
||||
const describeProvider = process.platform === "win32" ? describe.skip : describe // kilocode_change - scoped temp cleanup is flaky on Windows CI
|
||||
const providerID = "test-oauth-parity"
|
||||
const oauthURL = "https://example.com/oauth"
|
||||
const oauthInstructions = "Finish OAuth"
|
||||
@@ -106,7 +107,7 @@ afterEach(async () => {
|
||||
await resetDatabase()
|
||||
})
|
||||
|
||||
describe("provider HttpApi", () => {
|
||||
describeProvider("provider HttpApi", () => {
|
||||
it.live(
|
||||
"matches legacy OAuth authorize response shapes",
|
||||
withProviderProject((dir) =>
|
||||
|
||||
Reference in New Issue
Block a user