Skip to content

Commit

Permalink
PR review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hannalaakso committed Nov 16, 2020
1 parent 4e1c5dd commit bde62d2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ describe('components/notification-banner/auto-focus-disabled,-with-type-as-succe

const tabindex = await page.$eval('.govuk-notification-banner', el => el.getAttribute('tabindex'))

expect(tabindex).toBeFalsy()
expect(tabindex).toBeNull()
})

it('does not focus the notification banner', async () => {
Expand All @@ -59,7 +59,7 @@ describe('components/notification-banner/role=alert-overridden-to-role=region,-w

const tabindex = await page.$eval('.govuk-notification-banner', el => el.getAttribute('tabindex'))

expect(tabindex).toBeFalsy()
expect(tabindex).toBeNull()
})

it('does not focus the notification banner', async () => {
Expand Down

0 comments on commit bde62d2

Please sign in to comment.