Fixed tests

This commit is contained in:
Jori Lallo
2017-07-16 11:57:41 -07:00
parent 9bfbe42665
commit c005a8655e

View File

@ -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,
});
});