Skip to content

Commit

Permalink
Merge pull request #500 from roninjin10/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
drptbl authored Sep 14, 2022
2 parents cb53bbc + 9d0a7ad commit 7fba74d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/metamask.js
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ module.exports = {
);
return true;
},
allowToAddNetwork: async ({ waitForEvent }) => {
allowToAddNetwork: async ({ waitForEvent } = {}) => {
const notificationPage = await playwright.switchToMetamaskNotification();
if (waitForEvent) {
await playwright.waitAndClick(
Expand Down

0 comments on commit 7fba74d

Please sign in to comment.