From bde62d2043db9b065203e8e6ed93ce84aa3bc2c5 Mon Sep 17 00:00:00 2001 From: Hanna Laakso Date: Mon, 16 Nov 2020 10:36:31 +0000 Subject: [PATCH] PR review fixes --- .../notification-banner/notification-banner.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/govuk/components/notification-banner/notification-banner.test.js b/src/govuk/components/notification-banner/notification-banner.test.js index 38dc9518f8..553b961177 100644 --- a/src/govuk/components/notification-banner/notification-banner.test.js +++ b/src/govuk/components/notification-banner/notification-banner.test.js @@ -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 () => { @@ -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 () => {