Skip to content

Commit

Permalink
align spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
SteffenDE committed Jan 15, 2024
1 parent 5966233 commit 1ff3489
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions test/e2e/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ const { expect } = require("@playwright/test");

// a helper function to wait until the LV has no pending events
const syncLV = async (page) => {
const promises = [
expect(page.locator(".phx-connected").first()).toBeVisible(),
expect(page.locator(".phx-change-loading")).toHaveCount(0),
expect(page.locator(".phx-click-loading")).toHaveCount(0),
expect(page.locator(".phx-submit-loading")).toHaveCount(0),
];
return Promise.all(promises);
const promises = [
expect(page.locator(".phx-connected").first()).toBeVisible(),
expect(page.locator(".phx-change-loading")).toHaveCount(0),
expect(page.locator(".phx-click-loading")).toHaveCount(0),
expect(page.locator(".phx-submit-loading")).toHaveCount(0),
];
return Promise.all(promises);
};

module.exports = { syncLV };

0 comments on commit 1ff3489

Please sign in to comment.