Skip to content

Commit

Permalink
fix(tests): fix "Sync with tabs should update local tabs when pulling…
Browse files Browse the repository at this point in the history
… server changes"

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
  • Loading branch information
marcelklehr committed Nov 27, 2024
1 parent 030b7d5 commit bcdcd6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5115,14 +5115,14 @@ describe('Floccus', function() {
serverMark2 = {
title: 'Example Domain',
url: 'https://example.org/#test3',
parentId: windowFolderId,
parentId: tree.children[0].id,
location: ItemLocation.SERVER
}
await adapter.createBookmark(
new Bookmark(serverMark2)
)

await adapter.updateBookmark({ ...serverMark, id: serverMarkId, url: 'https://example.org/#test2', title: 'Example Domain', parentId: windowFolderId })
await adapter.updateBookmark({ ...serverMark, id: serverMarkId, url: 'https://example.org/#test2', title: 'Example Domain', parentId: tree.children[0].id })
})

await account.setData({...account.getData(), strategy: 'slave'})
Expand Down

0 comments on commit bcdcd6f

Please sign in to comment.