Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
devinbinnie committed Dec 13, 2024
1 parent 91e1ec2 commit 9fdd96e
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions e2e/modules/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,18 +246,18 @@ module.exports = {
await Promise.all(app.windows().
filter((win) => !win.url().includes('mattermost-desktop://')).
map(async (win) => {
return win.evaluate(async () => {
if (!window.testHelper) {
return null;
}
const info = await window.testHelper.getViewInfoForTest();
return {viewName: `${info.serverName}___${info.viewType}`, webContentsId: info.webContentsId};
}).then((result) => {
if (result) {
map[result.viewName] = {win, webContentsId: result.webContentsId};
}
});
}));
return win.evaluate(async () => {
if (!window.testHelper) {
return null;
}
const info = await window.testHelper.getViewInfoForTest();
return {viewName: `${info.serverName}___${info.viewType}`, webContentsId: info.webContentsId};
}).then((result) => {
if (result) {
map[result.viewName] = {win, webContentsId: result.webContentsId};
}
});
}));
return map;
},

Expand Down

0 comments on commit 9fdd96e

Please sign in to comment.