Skip to content

Commit 9a29b51

Browse files
fix(test): Fix flaky StackTrace URL link tooltip test
Made-with: Cursor
1 parent d4ad198 commit 9a29b51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/app/components/stackTrace/stackTrace.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -903,10 +903,10 @@ describe('Core StackTrace', () => {
903903

904904
await userEvent.hover(screen.getByText('app.js'), {delay: null});
905905
act(() => jest.advanceTimersByTime(2000));
906+
jest.useRealTimers();
906907

907908
expect(
908909
await screen.findByRole('link', {name: 'https://example.com/static/app.js'})
909910
).toBeInTheDocument();
910-
jest.useRealTimers();
911911
});
912912
});

0 commit comments

Comments
 (0)