From fc9b2aae09b9615286943e255d1a2c8f05daaf7d Mon Sep 17 00:00:00 2001 From: Daniel Izdebski Date: Thu, 12 Oct 2023 18:11:05 +0200 Subject: [PATCH] Remove Promise wrap from `cy.setupMetamask()` (#927) --- support/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/support/index.js b/support/index.js index db1b561b3..41b6fae42 100644 --- a/support/index.js +++ b/support/index.js @@ -24,8 +24,8 @@ Cypress.on('window:before:load', win => { }); }); -before(async () => { +before(() => { if (!Cypress.env('SKIP_METAMASK_SETUP')) { - await cy.setupMetamask(); + cy.setupMetamask(); } });