Skip to content

Commit

Permalink
Remove Promise wrap from cy.setupMetamask()
Browse files Browse the repository at this point in the history
  • Loading branch information
duckception committed Oct 11, 2023
1 parent 0f25706 commit 1d823c4
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 1d823c4

Please sign in to comment.