From 8fb1deff6c3476d0e71bcc94f052e1b67cb4f279 Mon Sep 17 00:00:00 2001 From: Aron Date: Fri, 5 Jul 2024 15:44:27 +0800 Subject: [PATCH] Update vitest.config.ts with hookTimeout option --- packages/runtime/vitest.config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/runtime/vitest.config.ts b/packages/runtime/vitest.config.ts index 1027f4c70..e36a049be 100644 --- a/packages/runtime/vitest.config.ts +++ b/packages/runtime/vitest.config.ts @@ -6,7 +6,8 @@ import type { UserConfig } from 'vitest' export default defineConfig( extend(config, { test: { - environment: 'jsdom' + environment: 'jsdom', + hookTimeout: 30000 } } as UserConfig) ) \ No newline at end of file