Skip to content

Commit

Permalink
Apply formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
eoghanmurray authored and github-actions[bot] committed Apr 12, 2023
1 parent 4bd3e20 commit 2c94879
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/rrweb/test/integration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2c94879

Please sign in to comment.