Skip to content

Commit 63dcf55

Browse files
committed
Lint
1 parent 3f0ca23 commit 63dcf55

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

dev-packages/e2e-tests/test-applications/react-router-7-lazy-routes/tests/transactions.test.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1270,10 +1270,7 @@ test('Captured navigation context is used instead of stale window.location durin
12701270
expect(allNavigationTransactions.length).toBeGreaterThanOrEqual(1);
12711271

12721272
// /another-lazy transaction must have correct name (not corrupted by slow-fetch handler)
1273-
const anotherLazyTransaction = allNavigationTransactions.find(
1274-
t =>
1275-
t.name.startsWith('/another-lazy/sub'),
1276-
);
1273+
const anotherLazyTransaction = allNavigationTransactions.find(t => t.name.startsWith('/another-lazy/sub'));
12771274
expect(anotherLazyTransaction).toBeDefined();
12781275

12791276
const corruptedToRoot = allNavigationTransactions.filter(t => t.name === '/');
@@ -1330,10 +1327,7 @@ test('Second navigation span is not corrupted by first slow lazy handler complet
13301327
expect(allNavigationTransactions.length).toBeGreaterThanOrEqual(1);
13311328

13321329
// /another-lazy transaction must have correct name, not "/slow-fetch/:id"
1333-
const anotherLazyTransaction = allNavigationTransactions.find(
1334-
t =>
1335-
t.name.startsWith('/another-lazy/sub'),
1336-
);
1330+
const anotherLazyTransaction = allNavigationTransactions.find(t => t.name.startsWith('/another-lazy/sub'));
13371331
expect(anotherLazyTransaction).toBeDefined();
13381332

13391333
// Key assertion 2: /another-lazy transaction must NOT contain spans from /slow-fetch route

0 commit comments

Comments
 (0)