Skip to content

Commit

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

Please sign in to comment.