From 67728af2f6d3198236e922dd14d4c60fa98d4ac1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josh=20Goldberg=20=E2=9C=A8?= Date: Mon, 30 Mar 2026 17:28:04 -0400 Subject: [PATCH] fix(test): Fix flaky useReplaysFromIssue assertion test Made-with: Cursor --- .../groupReplays/useReplaysFromIssue.spec.tsx | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/static/app/views/issueDetails/groupReplays/useReplaysFromIssue.spec.tsx b/static/app/views/issueDetails/groupReplays/useReplaysFromIssue.spec.tsx index 7403ea7fd420a6..2f889c92f42b39 100644 --- a/static/app/views/issueDetails/groupReplays/useReplaysFromIssue.spec.tsx +++ b/static/app/views/issueDetails/groupReplays/useReplaysFromIssue.spec.tsx @@ -41,13 +41,6 @@ describe('useReplaysFromIssue', () => { initialRouterConfig, }); - expect(result.current).toEqual({ - eventView: null, - fetchError: undefined, - isFetching: true, - pageLinks: null, - }); - await waitFor(() => expect(result.current).toEqual({ eventView: expect.objectContaining({ @@ -80,13 +73,6 @@ describe('useReplaysFromIssue', () => { initialRouterConfig, }); - expect(result.current).toEqual({ - eventView: null, - fetchError: undefined, - isFetching: true, - pageLinks: null, - }); - await waitFor(() => expect(result.current).toEqual({ eventView: expect.objectContaining({ @@ -117,13 +103,6 @@ describe('useReplaysFromIssue', () => { initialRouterConfig, }); - expect(result.current).toEqual({ - eventView: null, - fetchError: undefined, - isFetching: true, - pageLinks: null, - }); - await waitFor(() => expect(result.current).toEqual({ eventView: null,