Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

640 B
Raw Blame
import { describe, it, expect, vi } from "vitest";
import { render, screen } from "@testing-library/react";
import CloudZeroEmptyPlaceholder from "./CloudZeroEmptyPlaceholder";

describe("CloudZeroEmptyPlaceholder", () => {
  it("should render", () => {
    const startCreation = vi.fn();
    render(<CloudZeroEmptyPlaceholder startCreation={startCreation} />);

    expect(screen.getByText("No CloudZero Integration Found")).toBeInTheDocument();
    expect(screen.getByText(/Connect your CloudZero account/)).toBeInTheDocument();
    expect(screen.getByRole("button", { name: "Add CloudZero Integration" })).toBeInTheDocument();
  });
});