xonecas.io
4828
Sr

stream-together / files

stream-together / __tests__ / logo.test.tsx

312 bytes
1import { render, screen } from "@testing-library/react";
2
3import Logo from "@/components/logo";
4
5describe("Logo component", () => {
6  it("renders the logo", async () => {
7    render(<Logo />);
8
9    const logo = await screen.findByAltText("Stream together brand");
10    expect(logo).toBeInTheDocument();
11  });
12});