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(); }); });