diff --git a/packages/cli/test/mini-config.test.ts b/packages/cli/test/mini-config.test.ts index 903ca8904f..6d59e98e58 100644 --- a/packages/cli/test/mini-config.test.ts +++ b/packages/cli/test/mini-config.test.ts @@ -1,10 +1,10 @@ import { NodeFileSystem } from "@effect/platform-node" import { Global } from "@opencode-ai/util/global" -import { InstallationVersion } from "@opencode-ai/util/installation/version" import { Effect, Option } from "effect" import { expect, mock, test } from "bun:test" import { Config } from "../src/config" import type { MiniCommandInput } from "../src/mini" +import { OPENCODE_VERSION } from "../src/version" test("mini handler passes resolved CLI keybinds to the runtime", async () => { let received: MiniCommandInput["tuiConfig"] @@ -20,7 +20,7 @@ test("mini handler passes resolved CLI keybinds to the runtime", async () => { const handler = (await import("../src/commands/handlers/mini")).default const server = Bun.serve({ port: 0, - fetch: () => Response.json({ healthy: true, version: InstallationVersion, pid: process.pid }), + fetch: () => Response.json({ healthy: true, version: OPENCODE_VERSION, pid: process.pid }), }) try {