@navinc/base-react-components
Version:
Nav's Pattern Library
11 lines (9 loc) • 390 B
JavaScript
import { renderWithContext } from './tests/with-app-context.js'
import { screen } from '@testing-library/react'
import Form from './sba-form.js'
describe('<SBAForm />', () => {
it('renders', () => {
renderWithContext(<Form onFormSubmit={() => {}} dispatchOpenInfoDrawer={() => {}} />)
expect(screen.getByText(/Get connected to PPP funding options/i)).toBeInTheDocument()
})
})