From 2c948795d9ffe3c9f2e1a36b327f6d321462dd29 Mon Sep 17 00:00:00 2001 From: eoghanmurray Date: Wed, 12 Apr 2023 13:24:00 +0000 Subject: [PATCH] Apply formatting changes --- packages/rrweb/test/integration.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/rrweb/test/integration.test.ts b/packages/rrweb/test/integration.test.ts index 1a45b39628..9033761de3 100644 --- a/packages/rrweb/test/integration.test.ts +++ b/packages/rrweb/test/integration.test.ts @@ -70,11 +70,11 @@ describe('record integration tests', function (this: ISuite) { // also tap on the span const span = await page.waitForSelector('span'); - const center = await page.evaluate(el => { - const {x, y, width, height} = el.getBoundingClientRect(); + const center = await page.evaluate((el) => { + const { x, y, width, height } = el.getBoundingClientRect(); return { - x: Math.round(x + (width / 2)), - y: Math.round(y + (height / 2)), + x: Math.round(x + width / 2), + y: Math.round(y + height / 2), }; }, span); await page.touchscreen.tap(center.x, center.y);