Skip to content

Commit 8d94549

Browse files
committed
chore: tests
1 parent d5c8c70 commit 8d94549

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

test/unit/transform.test.ts

+9-8
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,15 @@ vi.mock('ohash', async (og) => {
1818
}
1919
})
2020

21-
vi.mock('ofetch', async (og) => {
22-
const mod = (await og<typeof import('ofetch')>())
23-
const mock = vi.fn(mod.$fetch)
24-
return {
25-
...mod,
26-
$fetch: mock,
27-
}
28-
})
21+
// TODO re-enable
22+
// vi.mock('ofetch', async (og) => {
23+
// const mod = (await og<typeof import('ofetch')>())
24+
// const mock = vi.fn(mod.$fetch)
25+
// return {
26+
// ...mod,
27+
// $fetch: mock,
28+
// }
29+
// })
2930

3031
vi.mock('ufo', async (og) => {
3132
const mod = (await og<typeof import('ufo')>())

0 commit comments

Comments
 (0)