ofetch
1 parent 6edba44 commit a3dfcdbCopy full SHA for a3dfcdb
1 file changed
test/unit/client.test.ts
@@ -3,7 +3,7 @@ import { $fetch } from 'ofetch'
3
import { getQuery, createClient } from '../../src/runtime/client'
4
import { request as largeRequest } from './fixture/large-request.json'
5
6
-vi.mock('ohmyfetch', () => ({
+vi.mock('ofetch', () => ({
7
$fetch: vi.fn(() =>
8
Promise.resolve({ result: [1, 2] }),
9
),
0 commit comments