From 4f0476e5f24b9e2b173a08586a7ecee44a167c8a Mon Sep 17 00:00:00 2001 From: yilsem Date: Sun, 11 Oct 2026 16:18:05 +0300 Subject: [PATCH] test(codex-link): use host path separators in bridge startup checks --- apps/desktop/electron/codex-link.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/desktop/electron/codex-link.test.ts b/apps/desktop/electron/codex-link.test.ts index a822070..099a77d 100644 --- a/apps/desktop/electron/codex-link.test.ts +++ b/apps/desktop/electron/codex-link.test.ts @@ -1,4 +1,5 @@ import { describe, expect, it } from 'vitest' +import path from 'node:path' import { CODEX_BRIDGE_START_BUDGET_MS, type CodexLinkDeps, type CodexLinkPaths, createCodexLink } from './codex-link' import { @@ -21,7 +22,7 @@ const PATHS: CodexLinkPaths = { codexConfig: 'D:\\home\\.codex\\config.toml' } -const BRIDGE_JSON = `${PATHS.bridgeHome}\\bridge.json` +const BRIDGE_JSON = path.join(PATHS.bridgeHome, 'bridge.json') 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'