diff --git a/apps/desktop/electron/codex-link.test.ts b/apps/desktop/electron/codex-link.test.ts index f042fe8..a822070 100644 --- a/apps/desktop/electron/codex-link.test.ts +++ b/apps/desktop/electron/codex-link.test.ts @@ -2,6 +2,7 @@ import { describe, expect, it } from 'vitest' import { CODEX_BRIDGE_START_BUDGET_MS, type CodexLinkDeps, type CodexLinkPaths, createCodexLink } from './codex-link' import { + CODEX_BRIDGE_VERSION, CODEX_LINK_LINE, CODEX_LINK_REFRESH_URL, CODEX_LINK_STATUS_URL, @@ -21,7 +22,7 @@ const PATHS: CodexLinkPaths = { } const BRIDGE_JSON = `${PATHS.bridgeHome}\\bridge.json` -const STATUS_OK = { ok: true, surum: '4', ide_durum: 'tamam', ide_model: 7, ozet: true } +const STATUS_OK = { ok: true, surum: CODEX_BRIDGE_VERSION, ide_durum: 'tamam', ide_model: 7, ozet: true } const USER_CONFIG = 'model = "gpt-6"\r\n\r\n[features]\r\nweb = true\r\n' interface World {