Skip to content

Commit a2f314d

Browse files
authored
Fix test
1 parent 0ec8737 commit a2f314d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/test/bookmark-manager.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ describe('BookmarkManager', () => {
6363
)
6464
})
6565

66-
it('should return not leak bookmarks from bookmarks supplier', async () => {
66+
it('should not leak bookmarks from bookmarks supplier to the internal state', async () => {
6767
const extraBookmarks = ['neo4j:bmextra', 'system:bmextra', 'adb:bmextra']
6868
const bookmarksSupplier = jest.fn()
69-
bookmarkManager.mockReturnValueOnce(Promise.resolve(extraBookmarks)).mockReturnValue(Promise.resolve([]))
69+
bookmarksSupplier.mockReturnValueOnce(Promise.resolve(extraBookmarks)).mockReturnValue(Promise.resolve([]))
7070
const manager = bookmarkManager({
7171
initialBookmarks: [...neo4jBookmarks, ...systemBookmarks],
7272
bookmarksSupplier

0 commit comments

Comments
 (0)