fix: Decode URL for vitest

This commit is contained in:
T. R. Bernstein
2025-02-27 21:14:33 +01:00
parent 4fd5c4ea94
commit e1c6ac1f11

View File

@@ -4,7 +4,7 @@ export const srcTestFolderConfig = function (baseUrl: string) {
return defineConfig({
test: {
alias: {
'@/': new URL('./src/', baseUrl).pathname
'@/': decodeURI(new URL('./src/', baseUrl).pathname)
},
dir: 'tests'
}