From 5ecfd6468cc460e653b2f5a06160478485a76a7e Mon Sep 17 00:00:00 2001 From: Daniel Izdebski Date: Wed, 18 Oct 2023 15:49:26 +0200 Subject: [PATCH] Lint --- commands/playwright.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/commands/playwright.js b/commands/playwright.js index fa3e350f3..c71eaf205 100644 --- a/commands/playwright.js +++ b/commands/playwright.js @@ -59,7 +59,7 @@ module.exports = { }, async metamaskExtensionId() { const metamaskExtensionData = (await module.exports.getExtensionsData()) - .metamask; + .metamask; return metamaskExtensionData.id; }, async setExpectInstance(expect) { @@ -346,9 +346,7 @@ module.exports = { page && page .url() - .includes( - `chrome-extension://${metamaskExtensionId}/notification.html`, - ) + .includes(`chrome-extension://${metamaskExtensionId}/notification.html`) ) { await page.waitForLoadState('load'); await page.waitForLoadState('domcontentloaded');