From 145cbc1b71517d65e136ecffe7a1824fcba72f3e Mon Sep 17 00:00:00 2001 From: ArcherGu <649601376@qq.com> Date: Tue, 27 Dec 2022 10:21:37 +0800 Subject: [PATCH] fix: vitest issue https://github.com/vitest-dev/vitest/issues/2544 --- vitest.config.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vitest.config.ts b/vitest.config.ts index 593beb8..bd1eb0e 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -3,6 +3,9 @@ import type { UserConfig } from 'vitest' const config: { test: UserConfig } = { test: { testTimeout: 50000, + deps: { + interopDefault: true, + }, }, }