research: delete Hono backend (do not merge) (#25667)
This commit is contained in:
parent
32684e70e6
commit
28b03595bf
1 changed files with 225 additions and 7567 deletions
|
|
@ -1,6 +1,5 @@
|
|||
import { afterEach, describe, expect, test } from "bun:test"
|
||||
import { Effect } from "effect"
|
||||
import { Flag } from "@opencode-ai/core/flag/flag"
|
||||
import { Instance } from "../../src/project/instance"
|
||||
import { WithInstance } from "../../src/project/with-instance"
|
||||
import { Server } from "../../src/server/server"
|
||||
|
|
@ -15,11 +14,9 @@ import { waitGlobalBusEventPromise } from "./global-bus"
|
|||
|
||||
void Log.init({ print: false })
|
||||
|
||||
const original = Flag.OPENCODE_EXPERIMENTAL_HTTPAPI
|
||||
const testWorktreeMutations = process.platform === "win32" ? test.skip : test
|
||||
|
||||
function app() {
|
||||
Flag.OPENCODE_EXPERIMENTAL_HTTPAPI = true
|
||||
return Server.Default().app
|
||||
}
|
||||
|
||||
|
|
@ -39,7 +36,6 @@ async function waitReady(directory: string) {
|
|||
}
|
||||
|
||||
afterEach(async () => {
|
||||
Flag.OPENCODE_EXPERIMENTAL_HTTPAPI = original
|
||||
await disposeAllInstances()
|
||||
await resetDatabase()
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue