Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbywells52 committed Jan 16, 2025
1 parent f7fbd4f commit 6d8ffaa
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { render, screen } from "@testing-library/react";

import "../../../i18n";

import ChlamydiaResultGuidance from "./ChlamydiaResultGuidance";

describe("ChlamydiaResultGuidance", () => {
it("displays guidance for a Gonorrhea result", () => {
const { container } = render(<ChlamydiaResultGuidance />);
expect(screen.getByText("For Chlamydia:")).toBeInTheDocument();
expect(container).toMatchSnapshot();
});
});

0 comments on commit 6d8ffaa

Please sign in to comment.