1
1
mirror of https://github.com/theoludwig/p61-project.git synced 2024-07-17 07:00:12 +02:00
p61-project/presentation/react/components/__tests__/ButtonCustom.test.tsx

13 lines
337 B
TypeScript
Raw Normal View History

2024-02-16 22:51:50 +01:00
import renderer from "react-test-renderer"
2024-03-16 00:36:44 +01:00
import { ButtonCustom } from "@/presentation/react/components/ButtonCustom"
2024-02-16 22:51:50 +01:00
describe("<ButtonCustom />", () => {
it("renders correctly", () => {
const tree = renderer
.create(<ButtonCustom>Awesome Button!</ButtonCustom>)
.toJSON()
expect(tree).toMatchSnapshot()
})
})