From 5feee55eb309d0808384ea9b717598e20a1c8a54 Mon Sep 17 00:00:00 2001 From: John Oshalusi Date: Fri, 6 Dec 2024 13:34:47 +0100 Subject: [PATCH] fix: resolve e2e lint issue --- packages/e2e-tests/src/steps/analyticsSteps.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/e2e-tests/src/steps/analyticsSteps.ts b/packages/e2e-tests/src/steps/analyticsSteps.ts index ab97e3a5b..41ded0e3d 100644 --- a/packages/e2e-tests/src/steps/analyticsSteps.ts +++ b/packages/e2e-tests/src/steps/analyticsSteps.ts @@ -16,7 +16,9 @@ export const validateEventProperty = async (event: string, property: string, pro interval: 1000, timeout: 6000, timeoutMsg: `Failed while waiting for event '${event}' contains property '${property}' equal to ${propertyValue}. Actual event property value = '${ - (await getEventPayload(event)).properties[property] + ( + await getEventPayload(event) + ).properties[property] }'` } ); @@ -62,7 +64,9 @@ When(/^I validate that (\d+) analytics event\(s\) have been sent$/, async (numbe interval: 1000, timeout: 6000, timeoutMsg: `Failed while waiting for amount events sent: ${Number(numberOfRequests)}. Actual events amount sent: ${ - (await getAllEventsNames()).length + ( + await getAllEventsNames() + ).length }\n Actual events:\n ${(await getAllEventsNames()).toString()}` });