Skip to content

Commit 67728af

Browse files
fix(test): Fix flaky useReplaysFromIssue assertion test
Made-with: Cursor
1 parent d4ad198 commit 67728af

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

static/app/views/issueDetails/groupReplays/useReplaysFromIssue.spec.tsx

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,6 @@ describe('useReplaysFromIssue', () => {
4141
initialRouterConfig,
4242
});
4343

44-
expect(result.current).toEqual({
45-
eventView: null,
46-
fetchError: undefined,
47-
isFetching: true,
48-
pageLinks: null,
49-
});
50-
5144
await waitFor(() =>
5245
expect(result.current).toEqual({
5346
eventView: expect.objectContaining({
@@ -80,13 +73,6 @@ describe('useReplaysFromIssue', () => {
8073
initialRouterConfig,
8174
});
8275

83-
expect(result.current).toEqual({
84-
eventView: null,
85-
fetchError: undefined,
86-
isFetching: true,
87-
pageLinks: null,
88-
});
89-
9076
await waitFor(() =>
9177
expect(result.current).toEqual({
9278
eventView: expect.objectContaining({
@@ -117,13 +103,6 @@ describe('useReplaysFromIssue', () => {
117103
initialRouterConfig,
118104
});
119105

120-
expect(result.current).toEqual({
121-
eventView: null,
122-
fetchError: undefined,
123-
isFetching: true,
124-
pageLinks: null,
125-
});
126-
127106
await waitFor(() =>
128107
expect(result.current).toEqual({
129108
eventView: null,

0 commit comments

Comments
 (0)