automation/medusa-upstream-review
| 1 | import { render, screen } from "@testing-library/react" |
| 2 | import * as React from "react" |
| 3 | |
| 4 | import { TooltipProvider } from "../tooltip" |
| 5 | import { Copy } from "./copy" |
| 6 | |
| 7 | describe("Copy", () => { |
| 8 | it("should render", () => { |
| 9 | render(<TooltipProvider><Copy content="Hello world" /></TooltipProvider>) |
| 10 | expect(screen.getByRole("button")).toBeInTheDocument() |
| 11 | }) |
| 12 | }) |