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

13 lines
326 B
TypeScript
Raw Normal View History

2024-03-23 01:43:27 +01:00
import renderer from "react-test-renderer"
2024-05-02 01:08:27 +02:00
import { TabBarIcon } from "@/presentation/react-native/ui/TabBarIcon"
2024-03-23 01:43:27 +01:00
describe("<TabBarIcon />", () => {
it("renders correctly", () => {
const tree = renderer
.create(<TabBarIcon name="info" color="black" />)
.toJSON()
expect(tree).toMatchSnapshot()
})
})