Created
January 24, 2022 01:28
-
-
Save n8rzz/37f475d4377f2a07b1326db9b99a6417 to your computer and use it in GitHub Desktop.
card-step-one.test.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import { render } from "@testing-library/react"; | |
import { Card } from "./Card"; | |
describe("Card", () => { | |
test("does not throw", () => { | |
const { queryByText } = render(<Card />); | |
expect(() => queryByText("Card")).not.toThrow(); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment