@@ -7234,9 +7234,9 @@ describe('Floccus', function() {
72347234 await createTree ( localRoot , 0 , BENCHMARK_SIZE )
72357235
72367236 const tree1Initial = await account1 . localTree . getBookmarksTree ( true )
7237- await ( await Controller . getSingleton ( ) ) . syncAccount ( account1 . id )
7237+ await ( await Controller . getSingleton ( ) ) . syncAccount ( account1 . id , undefined , true )
72387238 expect ( account1 . getData ( ) . error ) . to . not . be . ok
7239- await ( await Controller . getSingleton ( ) ) . syncAccount ( account2 . id )
7239+ await ( await Controller . getSingleton ( ) ) . syncAccount ( account2 . id , undefined , true )
72407240 expect ( account2 . getData ( ) . error ) . to . not . be . ok
72417241
72427242 let serverTreeAfterFirstSync = await getAllBookmarks ( account1 )
@@ -7279,7 +7279,7 @@ describe('Floccus', function() {
72797279 let tree1BeforeSecondSync = await account1 . localTree . getBookmarksTree (
72807280 true
72817281 )
7282- await account1 . sync ( )
7282+ await ( await Controller . getSingleton ( ) ) . syncAccount ( account1 . id , undefined , true )
72837283 expect ( account1 . getData ( ) . error ) . to . not . be . ok
72847284
72857285 let serverTreeAfterSecondSync = await getAllBookmarks ( account1 )
@@ -7304,7 +7304,7 @@ describe('Floccus', function() {
73047304 serverTreeAfterSecondSync = null
73057305 console . log ( 'Second round first half ok' )
73067306
7307- await ( await Controller . getSingleton ( ) ) . syncAccount ( account2 . id )
7307+ await ( await Controller . getSingleton ( ) ) . syncAccount ( account2 . id , undefined , true )
73087308 expect ( account2 . getData ( ) . error ) . to . not . be . ok
73097309
73107310 let serverTreeAfterThirdSync = await getAllBookmarks ( account1 )
@@ -7329,7 +7329,7 @@ describe('Floccus', function() {
73297329 console . log ( 'Second round second half ok' )
73307330
73317331 console . log ( 'acc1: final sync' )
7332- await account1 . sync ( )
7332+ await ( await Controller . getSingleton ( ) ) . syncAccount ( account1 . id , undefined , true )
73337333 expect ( account1 . getData ( ) . error ) . to . not . be . ok
73347334
73357335 let serverTreeAfterFinalSync = await getAllBookmarks ( account1 )
0 commit comments