Skip to content

Commit f2bc67a

Browse files
committed
build(deps): add ofetch and update http tests
- Add 'ofetch' to the list of dependencies in build.config.ts - Remove unused import of 'afterEach' in http.test.ts
1 parent d2a8c8f commit f2bc67a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

build.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export default defineBuildConfig({
2020
'dayjs',
2121
'decimal.js',
2222
'query-string',
23+
'ofetch',
2324
],
2425
rollup: {
2526
emitCJS: true,

test/network/http.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'
1+
import { beforeEach, describe, expect, it, vi } from 'vitest'
22
import { ofetch } from 'ofetch'
33
import { fetchWithTimeout, parallelRequests } from '../../src/network/http'
44

0 commit comments

Comments
 (0)