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
test(quota): align sidebar-costs-section to 4 items after C2 Plans retirement
diegosouzapw428947207f28
diff --git a/tests/unit/sidebar-costs-section.test.ts b/tests/unit/sidebar-costs-section.test.tsindex fd34579608..3d8f5f2436 100644--- a/tests/unit/sidebar-costs-section.test.ts+++ b/tests/unit/sidebar-costs-section.test.ts@@ -12,22 +12,17 @@ test("costs section exists in SIDEBAR_SECTIONS", () => {assert.ok(section, "costs section must exist");});-test("costs section has exactly 5 items in the correct order (F9 adds costs-quota-plans)", () => {+test("costs section has exactly 4 items in the correct order (C2 retired costs-quota-plans)", () => {const section = findSection("costs");assert.ok(section, "costs section must exist");const items = sidebarVisibility.getSectionItems(section);- // F3 created 4 items; F9 added costs-quota-plans as the 5th (B5 / B19).- assert.equal(items.length, 5, "costs section must have 5 items after F9");+ // F3 created 4 items; F9 added costs-quota-plans as the 5th; Phase C2 retired+ // the standalone Plans screen (unified into the pool wizard) → back to 4.+ assert.equal(items.length, 4, "costs section must have 4 items after C2");const itemIds = items.map((i) => i.id);- assert.deepEqual(itemIds, [- "costs",- "costs-pricing",- "costs-budget",- "costs-quota-share",- "costs-quota-plans",- ]);+ assert.deepEqual(itemIds, ["costs", "costs-pricing", "costs-budget", "costs-quota-share"]);});test("costs section items have correct hrefs", () => {@@ -42,7 +37,6 @@ test("costs section items have correct hrefs", () => {{ id: "costs-pricing", href: "/dashboard/costs/pricing" },{ id: "costs-budget", href: "/dashboard/costs/budget" },{ id: "costs-quota-share", href: "/dashboard/costs/quota-share" },- { id: "costs-quota-plans", href: "/dashboard/costs/quota-share/plans" },]);});