From 65e916d09a16219f2e0266915ceb8eb8bc227769 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Sun, 28 Apr 2024 11:45:39 +0200 Subject: [PATCH] test: setup file path not working when using vscode extension --- vitest.config.mts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vitest.config.mts b/vitest.config.mts index 8d8c59fd..0461bcd6 100644 --- a/vitest.config.mts +++ b/vitest.config.mts @@ -12,6 +12,6 @@ export default defineVitestConfig({ rootDir: fileURLToPath(new URL('test/nuxt/', import.meta.url)) } }, - setupFiles: './setup.ts' + setupFiles: fileURLToPath(new URL('test/nuxt/setup.ts', import.meta.url)) } })