@brightlayer-ui/react-native-auth-workflow
Version:
Re-usable workflow components for Authentication and Registration within Eaton applications.
11 lines (10 loc) • 387 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { cleanup, render } from '@testing-library/react-native';
import { Spinner } from '../../../components/Spinner/index.js';
describe('Spinner Test', () => {
afterEach(cleanup);
it('Spinner renders correctly', () => {
render(_jsx(Spinner, { visible: true })).toJSON();
expect(render).toBeTruthy();
});
});