Skip to content

Commit 2769c30

Browse files
committed
update tests to only allow one nav crumb
1 parent 2c779d7 commit 2769c30

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

static/app/utils/replays/replayReader.spec.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,7 @@ describe('ReplayReader', () => {
200200
expected: [
201201
expect.objectContaining({category: 'replay.init'}),
202202
expect.objectContaining({category: 'ui.slowClickDetected'}),
203-
expect.objectContaining({category: 'navigation'}),
204-
expect.objectContaining({op: 'navigation.navigate'}),
203+
expect.objectContaining({op: 'navigation.navigate'}), // prefer the nav span over the breadcrumb
205204
expect.objectContaining({category: 'ui.click'}),
206205
expect.objectContaining({category: 'ui.click'}),
207206
],

0 commit comments

Comments
 (0)