posts/currentPosts now return empty array

This commit is contained in:
Moriz Wahl 2019-11-12 11:20:56 +01:00
parent 163825e562
commit d7397f5e46

View File

@ -54,7 +54,7 @@ describe('PostIndex', () => {
'auth/user': () => {
return { id: 'u23' }
},
'posts/currentPosts': () => jest.fn(),
'posts/currentPosts': () => [],
},
mutations,
})