Skip to content

Commit 32eb490

Browse files
committed
Fix linter.
1 parent f983f96 commit 32eb490

File tree

2 files changed

+3
-10
lines changed
  • packages/browser-integration-tests/suites/replay

2 files changed

+3
-10
lines changed

packages/browser-integration-tests/suites/replay/multiple-pages/test.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -271,10 +271,7 @@ sentryTest(
271271
// // -----------------------------------------------------------------------------------------
272272
// // And just to finish this off, let's go back to the index page
273273

274-
const [, req8] = await Promise.all([
275-
page.click('a'),
276-
reqPromise8
277-
]);
274+
const [, req8] = await Promise.all([page.click('a'), reqPromise8]);
278275

279276
const replayEvent8 = getReplayEvent(req8);
280277
const recording8 = getReplayRecordingContent(req8);
@@ -287,10 +284,7 @@ sentryTest(
287284
expect(normalize(recording8.fullSnapshots)).toMatchSnapshot('seg-8-snap-full');
288285
expect(recording8.incrementalSnapshots.length).toEqual(0);
289286

290-
const [, req9] = await Promise.all([
291-
page.click('#go-background'),
292-
reqPromise9
293-
]);
287+
const [, req9] = await Promise.all([page.click('#go-background'), reqPromise9]);
294288

295289
const replayEvent9 = getReplayEvent(req9);
296290
const recording9 = getReplayRecordingContent(req9);

packages/browser-integration-tests/suites/replay/requests/test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,13 @@ sentryTest('replay recording should contain XHR request span', async ({ getLocal
6969
const reqPromise0 = waitForReplayRequest(page, 0);
7070
const reqPromise1 = waitForReplayRequest(page, 1);
7171

72-
7372
const url = await getLocalTestPath({ testDir: __dirname });
7473

7574
const [, req0] = await Promise.all([Promise.all([page.goto(url), page.click('#go-background')]), reqPromise0]);
7675

7776
const { performanceSpans: spans0 } = getReplayRecordingContent(req0);
7877

79-
await Promise.all([page.click('#xhr'), page.waitForResponse('https://example.com')])
78+
await Promise.all([page.click('#xhr'), page.waitForResponse('https://example.com')]);
8079

8180
const { performanceSpans: spans1 } = getReplayRecordingContent(await reqPromise1);
8281

0 commit comments

Comments
 (0)