From 7172aead5b1b524f5180feb404beba366688170a Mon Sep 17 00:00:00 2001 From: Daniel Izdebski Date: Sat, 7 Oct 2023 00:59:14 +0200 Subject: [PATCH] Lint --- wallets/metamask/src/actions/connectWalletToDapp.ts | 4 +++- wallets/metamask/test/e2e/metamask.spec.ts | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/wallets/metamask/src/actions/connectWalletToDapp.ts b/wallets/metamask/src/actions/connectWalletToDapp.ts index c1193a908..cf1c46d99 100644 --- a/wallets/metamask/src/actions/connectWalletToDapp.ts +++ b/wallets/metamask/src/actions/connectWalletToDapp.ts @@ -12,7 +12,9 @@ async function getNotificationPage(context: BrowserContext, extensionId: string, } if (retries >= 60) { - throw new Error('[GetNotificationPage] Max amount of retries to get notification page has been reached. It was never found.') + throw new Error( + '[GetNotificationPage] Max amount of retries to get notification page has been reached. It was never found.' + ) } const isNotificationPage = (page: Page) => page.url().includes(`chrome-extension://${extensionId}/notification.html`) diff --git a/wallets/metamask/test/e2e/metamask.spec.ts b/wallets/metamask/test/e2e/metamask.spec.ts index 2b097bfa1..673726683 100644 --- a/wallets/metamask/test/e2e/metamask.spec.ts +++ b/wallets/metamask/test/e2e/metamask.spec.ts @@ -24,7 +24,7 @@ const test = base.extend({ const browserArgs = [ `--disable-extensions-except=${metamaskPath}`, `--load-extension=${metamaskPath}`, - `--disable-popup-blocking`, + "--disable-popup-blocking", '--disable-gpu', '--use-wayland-explicit-grab', '--no-sandbox'