This repository has been archived on 2024-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
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()
})
})