Skip to content

Commit

Permalink
update pagerowheader unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pearl-truss committed Sep 12, 2023
1 parent 9339adb commit 6c28c4d
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ describe('Page Heading Row', () => {

it('renders without errors and without the managed care header on the help page page', () => {
renderWithProviders(<PageHeadingRow route="ROOT" />)
expect(screen.getByRole('heading')).not.toBeInTheDocument()
expect(screen.getByRole('heading')).toBeInTheDocument()
expect(screen.getByRole('heading')).not.toHaveTextContent(
'Medicaid and CHIP Managed Care Reporting and Review System'
)
})

it('does not display heading text when isLoading', async () => {
Expand Down

0 comments on commit 6c28c4d

Please sign in to comment.