Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
duckception committed Oct 17, 2023
1 parent f9c266f commit f7e0ffe
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions commands/playwright.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ module.exports = {
},
async metamaskExtensionId() {
const metamaskExtensionData = (await module.exports.getExtensionsData())
.metamask;
.metamask;
return metamaskExtensionData.id;
},
async setExpectInstance(expect) {
Expand Down Expand Up @@ -346,9 +346,7 @@ module.exports = {
page &&
page
.url()
.includes(
`chrome-extension://${metamaskExtensionId}/notification.html`,
)
.includes(`chrome-extension://${metamaskExtensionId}/notification.html`)
) {
await page.waitForLoadState('load');
await page.waitForLoadState('domcontentloaded');
Expand Down

0 comments on commit f7e0ffe

Please sign in to comment.