test: setup file path not working when using vscode extension

This commit is contained in:
Benjamin Canac
2024-04-28 11:45:39 +02:00
parent 36cf8ccf21
commit 65e916d09a

View File

@@ -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))
}
})