Skip to content

Commit

Permalink
fix(tests): fix complex hierarchy reversals 2 test
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
  • Loading branch information
marcelklehr committed May 4, 2024
1 parent dd46926 commit 0c5ce6f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3901,18 +3901,21 @@ describe('Floccus', function() {
expectTreeEqual(
tree1AfterFirstSync,
tree1,
false,
false
)
serverTreeAfterFirstSync.title = tree1.title
expectTreeEqual(
serverTreeAfterFirstSync,
tree1,
false,
false
)
tree2AfterFirstSync.title = tree1.title
expectTreeEqual(
tree2AfterFirstSync,
tree1,
false,
false
)
console.log('First round ok')
Expand Down Expand Up @@ -3961,6 +3964,7 @@ describe('Floccus', function() {
expectTreeEqual(
serverTreeAfterThirdSync,
tree1AfterThirdSync,
false,
false
)

Expand All @@ -3979,12 +3983,14 @@ describe('Floccus', function() {
expectTreeEqual(
serverTreeAfterFinalSync,
tree2AfterFinalSync,
false,
false
)
tree1AfterThirdSync.title = tree2AfterFinalSync.title
expectTreeEqual(
tree2AfterFinalSync,
tree1AfterThirdSync,
false,
false
)
})
Expand Down

0 comments on commit 0c5ce6f

Please sign in to comment.