From 1ff348907d2c1ea229119df298b97ff8f859a0dc Mon Sep 17 00:00:00 2001 From: Steffen Deusch Date: Fri, 12 Jan 2024 22:32:42 +0100 Subject: [PATCH] align spaces --- test/e2e/utils.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test/e2e/utils.js b/test/e2e/utils.js index 3ff855def5..c9c8a1b385 100644 --- a/test/e2e/utils.js +++ b/test/e2e/utils.js @@ -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 };