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-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()
})
})