File tree Expand file tree Collapse file tree
superset-frontend/src/dashboard/components/gridComponents/Chart Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -283,9 +283,7 @@ test('should re-render when componentId changes', () => {
283283 } ) ;
284284 expect ( getByTestId ( 'chart-container' ) ) . toBeInTheDocument ( ) ;
285285
286- rerender (
287- < Chart { ...props } isComponentVisible componentId = "test-2" /> ,
288- ) ;
286+ rerender ( < Chart { ...props } isComponentVisible componentId = "test-2" /> ) ;
289287 expect ( getByTestId ( 'chart-container' ) ) . toBeInTheDocument ( ) ;
290288} ) ;
291289
@@ -296,8 +294,6 @@ test('should re-render when cacheBusterProp changes', () => {
296294 } ) ;
297295 expect ( getByTestId ( 'chart-container' ) ) . toBeInTheDocument ( ) ;
298296
299- rerender (
300- < Chart { ...props } isComponentVisible cacheBusterProp = "v2" /> ,
301- ) ;
297+ rerender ( < Chart { ...props } isComponentVisible cacheBusterProp = "v2" /> ) ;
302298 expect ( getByTestId ( 'chart-container' ) ) . toBeInTheDocument ( ) ;
303299} ) ;
You can’t perform that action at this time.
0 commit comments