import React from "react"; import Skeleton from "./skeleton"; import SkeletonCircle from "./skeleton-circle"; import SkeletonText from "./skeleton-text"; import { render } from "@testing-library/react-native"; import { ThemeProvider } from "../../../theme/src/theme-context"; import { Text } from "react-native"; jest.useFakeTimers(); describe("Atoms/Skeleton", () => { it("passes the snapshot test", () => { const component = render( Test ); expect(component).toMatchSnapshot(); }); it("should render with default props", () => { const component = render( Test ); expect(component).toBeTruthy(); }); it("should render with custom props", () => { const component = render( Test ); expect(component).toBeTruthy(); }); }); describe("Atoms/SkeletonCircle", () => { it("passes the snapshot test", () => { const component = render( ); expect(component).toMatchSnapshot(); }); }); describe("Atoms/SkeletonText", () => { it("passes the snapshot test", () => { const component = render( Test ); expect(component).toMatchSnapshot(); }); });