Skip to content

Commit

Permalink
fix: don't wrap a cy command into a Promise
Browse files Browse the repository at this point in the history
  • Loading branch information
YakovL authored Sep 28, 2023
1 parent 0f25706 commit c490124
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions support/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ Cypress.on('window:before:load', win => {
});
});

before(async () => {
before(() => {
if (!Cypress.env('SKIP_METAMASK_SETUP')) {
await cy.setupMetamask();
cy.setupMetamask();
}
});

0 comments on commit c490124

Please sign in to comment.