diff --git a/static/app/components/charts/chartWidgetLoader-unmocked-imports.spec.tsx b/static/app/components/charts/chartWidgetLoader-unmocked-imports.spec.tsx index f6a915978e135b..0b621b6e9de577 100644 --- a/static/app/components/charts/chartWidgetLoader-unmocked-imports.spec.tsx +++ b/static/app/components/charts/chartWidgetLoader-unmocked-imports.spec.tsx @@ -282,9 +282,14 @@ describe('ChartWidgetLoader - unmocked imports', () => { // We only need to check that the dynamic import completes for these tests as that means ChartWidgetLoader is able to load all widgets expect(screen.getByTestId('loading-placeholder')).toBeInTheDocument(); - await waitFor(() => { - expect(screen.queryByTestId('loading-placeholder')).not.toBeInTheDocument(); - }); + await waitFor( + () => { + expect(screen.queryByTestId('loading-placeholder')).not.toBeInTheDocument(); + }, + { + timeout: 2000, + } + ); expect(TimeSeriesWidgetVisualization).toHaveBeenCalledWith( expect.objectContaining({