fix: replace all async foreach callbacks (#10157)

Co-authored-by: zomars <[email protected]>
This commit is contained in:
nicktrnandzomars authored and GitHub committed 2023-08-26 00:43:10 +00:00
1 parent 83aea7d28c
commit c1bcfcfa3d
8 files changed
+266 -240

No files matched your search

+2 -1
View File
@@ -158,9 +158,10 @@ test.describe("pro user", () => {
await expect(page.locator("[data-testid=success-page]")).toBeVisible();
additionalGuests.forEach(async (email) => {
const promises = additionalGuests.map(async (email) => {
await expect(page.locator(`[data-testid="attendee-email-${email}"]`)).toHaveText(email);
});
await Promise.all(promises);
});
test("Time slots should be reserved when selected", async ({ context, page }) => {