UNPKG

@brightlayer-ui/react-native-auth-workflow

Version:

Re-usable workflow components for Authentication and Registration within Eaton applications.

12 lines (11 loc) 575 B
import { jsx as _jsx } from "react/jsx-runtime"; import { cleanup, render, screen } from '@testing-library/react-native'; import { WorkflowCardInstructions } from '../../../components/WorkflowCard/WorkflowCardInstructions.js'; describe('WorkflowCardInstructions Test', () => { afterEach(cleanup); it('WorkflowCardInstructions renders correctly', () => { render(_jsx(WorkflowCardInstructions, { instructions: 'Test Instructions' })).toJSON(); expect(render).toBeTruthy(); expect(screen.getByText('Test Instructions')).toBeTruthy(); }); });