mirror of
https://github.com/floccusaddon/floccus
synced 2025-04-29 15:47:21 +08:00
fix(tests): Check if server can store order before checking order
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
parent
f809eb38aa
commit
ae97f301a3
@ -3094,7 +3094,8 @@ describe('Floccus', function() {
|
||||
})
|
||||
]
|
||||
}),
|
||||
false
|
||||
false,
|
||||
Boolean(account.server.orderFolder),
|
||||
)
|
||||
const localTree = await account.localTree.getBookmarksTree(true)
|
||||
expectTreeEqual(
|
||||
@ -3122,7 +3123,8 @@ describe('Floccus', function() {
|
||||
})
|
||||
]
|
||||
}),
|
||||
false
|
||||
false,
|
||||
Boolean(account.server.orderFolder)
|
||||
)
|
||||
|
||||
// Sync again to check if bookmark 3 gets picked
|
||||
@ -3155,14 +3157,16 @@ describe('Floccus', function() {
|
||||
})
|
||||
]
|
||||
}),
|
||||
false
|
||||
false,
|
||||
Boolean(account.server.orderFolder)
|
||||
)
|
||||
const localTree2 = await account.localTree.getBookmarksTree(true)
|
||||
localTree2.title = tree2.title
|
||||
expectTreeEqual(
|
||||
localTree2,
|
||||
tree2,
|
||||
false
|
||||
false,
|
||||
Boolean(account.server.orderFolder)
|
||||
)
|
||||
})
|
||||
context('with slave mode', function() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user