mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 00:49:03 +00:00
15 lines
388 B
TypeScript
15 lines
388 B
TypeScript
import React from "react";
|
|
|
|
import { render, screen } from "@testing-library/react";
|
|
|
|
import InfoBanner from "./InfoBanner";
|
|
|
|
describe("InfoBanner - component", () => {
|
|
it("info banner renders text", () => {
|
|
render(<InfoBanner>Info banner testing text</InfoBanner>);
|
|
|
|
const title = screen.getByText("Info banner testing text");
|
|
|
|
expect(title).toBeInTheDocument();
|
|
});
|
|
});
|