lint
This commit is contained in:
parent
87f8f3fcaa
commit
b124d2b8ea
2 changed files with 17 additions and 4 deletions
|
|
@ -290,7 +290,10 @@ describe('Statuses store', () => {
|
|||
'EmojiReactions',
|
||||
[
|
||||
{
|
||||
accounts: [mockMastoAPIUser({ id: 'u1' }), mockMastoAPIUser({ id: 'u2' })],
|
||||
accounts: [
|
||||
mockMastoAPIUser({ id: 'u1' }),
|
||||
mockMastoAPIUser({ id: 'u2' }),
|
||||
],
|
||||
count: 1,
|
||||
me: false,
|
||||
name: 'cofe',
|
||||
|
|
@ -298,8 +301,14 @@ describe('Statuses store', () => {
|
|||
},
|
||||
],
|
||||
],
|
||||
['Favs', [mockMastoAPIUser({ id: 'u1' }), mockMastoAPIUser({ id: 'u2' })]],
|
||||
['Repeats', [mockMastoAPIUser({ id: 'u1' }), mockMastoAPIUser({ id: 'u2' })]],
|
||||
[
|
||||
'Favs',
|
||||
[mockMastoAPIUser({ id: 'u1' }), mockMastoAPIUser({ id: 'u2' })],
|
||||
],
|
||||
[
|
||||
'Repeats',
|
||||
[mockMastoAPIUser({ id: 'u1' }), mockMastoAPIUser({ id: 'u2' })],
|
||||
],
|
||||
])('fetch%s', async (group, mockedResponse) => {
|
||||
const mockFetch = vi.fn()
|
||||
mockFetch.mockResolvedValueOnce(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue