From 9a29b5132da60ddead7ddf6f4787e0e6c6e03cfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josh=20Goldberg=20=E2=9C=A8?= Date: Mon, 30 Mar 2026 17:32:47 -0400 Subject: [PATCH] fix(test): Fix flaky StackTrace URL link tooltip test Made-with: Cursor --- static/app/components/stackTrace/stackTrace.spec.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/app/components/stackTrace/stackTrace.spec.tsx b/static/app/components/stackTrace/stackTrace.spec.tsx index 0eabe8ce76a293..aee15a27a97d9d 100644 --- a/static/app/components/stackTrace/stackTrace.spec.tsx +++ b/static/app/components/stackTrace/stackTrace.spec.tsx @@ -903,10 +903,10 @@ describe('Core StackTrace', () => { await userEvent.hover(screen.getByText('app.js'), {delay: null}); act(() => jest.advanceTimersByTime(2000)); + jest.useRealTimers(); expect( await screen.findByRole('link', {name: 'https://example.com/static/app.js'}) ).toBeInTheDocument(); - jest.useRealTimers(); }); });