Skip to content

A desktop coding agent with free access to frontier models.

TypeScript
584 B
Raw Blame
import { describe, expect, test } from "bun:test";

import { shouldShowMcpConnectionsStagingBanner } from "../app/(den)/dashboard/_components/mcp-connections-capability";

describe("shouldShowMcpConnectionsStagingBanner", () => {
  test("shows the staging banner when OmniRush.ai Connect is disabled", () => {
    expect(shouldShowMcpConnectionsStagingBanner({ mcpConnections: false })).toBe(true);
  });

  test("hides the staging banner when OmniRush.ai Connect is enabled", () => {
    expect(shouldShowMcpConnectionsStagingBanner({ mcpConnections: true })).toBe(false);
  });
});