Skip to content

Commit 94d6749

Browse files
author
福晋
committed
chore: update hook timeout
1 parent ec55487 commit 94d6749

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"types": "dist/index.d.ts",
77
"scripts": {
88
"build": "tsc",
9-
"test": "vitest run --coverage",
9+
"test": "HF_ENDPOINT=https://hf-mirror.com vitest run --coverage",
1010
"lint": "eslint src/ --ext .ts",
1111
"lint:fix": "eslint src/ --ext .ts --fix",
1212
"format": "prettier --write 'src/**/*.ts' 'test/**/*.ts'"

‎vitest.config.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default defineConfig({
44
test: {
55
include: ['test/**/*.test.ts'],
66
testTimeout: 30000,
7-
hookTimeout: 10000,
7+
hookTimeout: 30000,
88
pool: 'forks',
99
poolOptions: {
1010
forks: { singleFork: true },

0 commit comments

Comments
 (0)