diff --git a/frontend/stores/CollectionsStore.test.js b/frontend/stores/CollectionsStore.test.js index ef39ccbe..358f5bd5 100644 --- a/frontend/stores/CollectionsStore.test.js +++ b/frontend/stores/CollectionsStore.test.js @@ -10,8 +10,14 @@ describe('CollectionsStore', () => { let store; beforeEach(() => { + const cache = { + getItem: jest.fn(() => Promise.resolve()), + setItem: jest.fn(() => {}), + }; + store = new CollectionsStore({ teamId: 123, + cache, }); });