Skip to content

Commit a3dfcdb

Browse files
committed
test: mock ofetch 🤦‍♂️
1 parent 6edba44 commit a3dfcdb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/unit/client.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { $fetch } from 'ofetch'
33
import { getQuery, createClient } from '../../src/runtime/client'
44
import { request as largeRequest } from './fixture/large-request.json'
55

6-
vi.mock('ohmyfetch', () => ({
6+
vi.mock('ofetch', () => ({
77
$fetch: vi.fn(() =>
88
Promise.resolve({ result: [1, 2] }),
99
),

0 commit comments

Comments
 (0)