Skip to content

Commit

Permalink
fix(tests)
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Klehr <[email protected]>
  • Loading branch information
marcelklehr committed Aug 31, 2024
1 parent e58cc8c commit f61f017
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3276,9 +3276,17 @@ describe('Floccus', function() {
await account1.server.deleteFile(file.id)
}
}
await browser.bookmarks.removeTree(account1.getData().localRoot)
try {
await browser.bookmarks.removeTree(account1.getData().localRoot)
} catch (e) {
// noop
}
await account1.delete()
await browser.bookmarks.removeTree(account2.getData().localRoot)
try {
await browser.bookmarks.removeTree(account2.getData().localRoot)
} catch (e) {
// noop
}
await account2.delete()
})
it('should not sync two clients at the same time', async function() {
Expand Down

0 comments on commit f61f017

Please sign in to comment.