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__/TabBarIcon.test.tsx

13 lines
327 B
TypeScript

import renderer from "react-test-renderer"
import { TabBarIcon } from "@/presentation/react/components/TabBarIcon"
describe("<TabBarIcon />", () => {
it("renders correctly", () => {
const tree = renderer
.create(<TabBarIcon name="info" color="black" />)
.toJSON()
expect(tree).toMatchSnapshot()
})
})