test(codex-link): use host path separators in bridge startup checks

This commit is contained in:
yilsem committed 2026-10-11 16:18:05 +03:00
1 parent 3726d2a553
commit 4f0476e5f2
1 file changed
+2 -1
+2 -1
View File
@@ -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'