fix tests again
This commit is contained in:
parent
67bb642ffa
commit
6e04b28b71
1 changed files with 6 additions and 0 deletions
|
|
@ -222,6 +222,12 @@ describe('Follow Requests store', () => {
|
||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
mockFetch.mockResolvedValueOnce(
|
||||||
|
new Response(JSON.stringify('ok'), {
|
||||||
|
headers: { 'Content-Type': 'application/json' },
|
||||||
|
}),
|
||||||
|
)
|
||||||
|
|
||||||
vi.stubGlobal('fetch', mockFetch)
|
vi.stubGlobal('fetch', mockFetch)
|
||||||
|
|
||||||
await store[doCall]('u99')
|
await store[doCall]('u99')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue