Raw
1 import { render, screen } from "@testing-library/react"
2 import * as React from "react"
3
4 import { Switch } from "./switch"
5
6 describe("Switch", () => {
7 it("should render successfully", () => {
8 render(<Switch />)
9
10 expect(screen.getByRole("switch")).toBeInTheDocument()
11 })
12 })