fix: Decode URL for vitest
This commit is contained in:
@@ -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'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user