Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors
TypeScript a2aai-agentsai-gatewayanthropicclaudeclaude-codeclinecodexcopilotcursordeepseekfree-aigeminikimillm-gatewaymcpopenaiopenai-proxyqwentoken-saver
fix(test): align auto-update test sync-env path with FASE 1 move
diegosouzapweb62ad72f15e
diff --git a/tests/unit/auto-update-runtime.test.ts b/tests/unit/auto-update-runtime.test.tsindex 1ca8761a0f..5d107c10bd 100644--- a/tests/unit/auto-update-runtime.test.ts+++ b/tests/unit/auto-update-runtime.test.ts@@ -130,7 +130,7 @@ describe("buildSourceUpdateScript", () => {assert.match(script, /git fetch --tags 'upstream'/);assert.match(script, /git checkout "v3\.2\.6"/);- assert.match(script, /node scripts\/sync-env\.mjs 2>\/dev\/null \|\| true/);+ assert.match(script, /node scripts\/dev\/sync-env\.mjs 2>\/dev\/null \|\| true/);assert.match(script, /pm2 restart omniroute --update-env \|\| true/);});});diff --git a/tests/unit/auto-update.test.ts b/tests/unit/auto-update.test.tsindex 2f4e2b5e57..cbc0a475f4 100644--- a/tests/unit/auto-update.test.ts+++ b/tests/unit/auto-update.test.ts@@ -254,7 +254,7 @@ test("auto update script builders generate npm, source, and docker-compose scripconst sourceScript = autoUpdate.buildSourceUpdateScript("3.6.0", "upstream");assert.match(sourceScript, /git fetch --tags 'upstream'/);assert.match(sourceScript, /git stash --include-untracked/);- assert.match(sourceScript, /node scripts\/sync-env\.mjs 2>\/dev\/null \|\| true/);+ assert.match(sourceScript, /node scripts\/dev\/sync-env\.mjs 2>\/dev\/null \|\| true/);assert.match(sourceScript, /Successfully updated to v3\.6\.0/);const dockerScript = autoUpdate.buildDockerComposeUpdateScript({