From c490124a61ebaa6e6079d7413f0e0d2ffac1881f Mon Sep 17 00:00:00 2001 From: Yakov Litvin Date: Thu, 28 Sep 2023 21:41:56 +0300 Subject: [PATCH] fix: don't wrap a cy command into a Promise --- 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(); } });