Skip to content

Commit

Permalink
Update JS lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Amit3200 committed Sep 29, 2024
1 parent 59d60b2 commit a03f296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ async function changeWindowDimensionAndWait(driver, width, height, resizeCount)

try {
await driver.wait(async () => {
await driver.executeScript('return window.resizeCount') === resizeCount
await driver.executeScript('return window.resizeCount') === resizeCount;
}, 1000);
} catch (e) {
if (e.name === 'TimeoutError') {
Expand Down

0 comments on commit a03f296

Please sign in to comment.