Fixed tests
This commit is contained in:
@ -10,8 +10,14 @@ describe('CollectionsStore', () => {
|
|||||||
let store;
|
let store;
|
||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
|
const cache = {
|
||||||
|
getItem: jest.fn(() => Promise.resolve()),
|
||||||
|
setItem: jest.fn(() => {}),
|
||||||
|
};
|
||||||
|
|
||||||
store = new CollectionsStore({
|
store = new CollectionsStore({
|
||||||
teamId: 123,
|
teamId: 123,
|
||||||
|
cache,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user