File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ describe('dashboards', () => {
9797
9898    it ( 'should update an existing dashboard' ,  ( )  =>  { 
9999      const  existingDashboards  =  {  default : defaultDashboard  } ; 
100-       const  updatedDashboard : DashboardLayout  =  {  widgets : [ ] ,  generalSettings : {  fontSize : 'lg'  } } ; 
100+       const  updatedDashboard : DashboardLayout  =  {  widgets : [ ] ,  generalSettings : {  fontSize : 'lg' ,   colorPalette :  'black'  } } ; 
101101      mockReadData . mockReturnValue ( existingDashboards ) ; 
102102
103103      saveDashboard ( 'default' ,  updatedDashboard ) ; 
@@ -247,7 +247,7 @@ describe('dashboards', () => {
247247
248248      const  updatedDashboard  =  getOrCreateDefaultDashboard ( ) ; 
249249
250-       expect ( updatedDashboard . generalSettings ) . toEqual ( {  fontSize : 'sm'  } ) ; 
250+       expect ( updatedDashboard . generalSettings ) . toEqual ( {  fontSize : 'sm' ,   colorPalette :  'default'  } ) ; 
251251    } ) ; 
252252
253253    it ( 'should preserve general settings from the existing dashboard' ,  ( )  =>  { 
@@ -258,7 +258,7 @@ describe('dashboards', () => {
258258
259259      const  updatedDashboard  =  getOrCreateDefaultDashboard ( ) ; 
260260
261-       expect ( updatedDashboard . generalSettings ) . toEqual ( {  fontSize : 'lg'  } ) ; 
261+       expect ( updatedDashboard . generalSettings ) . toEqual ( {  fontSize : 'lg' ,   colorPalette :  'default'  } ) ; 
262262    } ) ; 
263263  } ) ; 
264264} ) ; 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments