@@ -104,7 +104,7 @@ describe('migrations', () => {
104104  // What `base` becomes after all migrations. 
105105  const  endBase  =  { 
106106    ...base52 , 
107-     migrations : {  version : 56  } , 
107+     migrations : {  version : 57  } , 
108108  } ; 
109109
110110  for  ( const  [ desc ,  before ,  after ]  of  [ 
@@ -278,6 +278,20 @@ describe('migrations', () => {
278278      } , 
279279      {  ...endBase ,  settings : {  ...endBase . settings ,  markMessagesReadOnScroll : 'never'  }  } , 
280280    ] , 
281+     [ 
282+       "check 57 with 'night'" , 
283+       {  ...base52 ,  migrations : {  version : 56  } ,  settings : {  ...base52 . settings ,  theme : 'night'  }  } , 
284+       {  ...endBase ,  settings : {  ...endBase . settings ,  theme : 'dark'  }  } , 
285+     ] , 
286+     [ 
287+       "check 57 with 'default'" , 
288+       { 
289+         ...base52 , 
290+         migrations : {  version : 56  } , 
291+         settings : {  ...base52 . settings ,  theme : 'default'  } , 
292+       } , 
293+       {  ...endBase ,  settings : {  ...endBase . settings ,  theme : 'default'  }  } , 
294+     ] , 
281295  ] )  { 
282296    /* eslint-disable no-loop-func */ 
283297    test ( desc ,  async  ( )  =>  { 
0 commit comments