fix: Decode URL for vitest
This commit is contained in:
@@ -4,7 +4,7 @@ export const srcTestFolderConfig = function (baseUrl: string) {
|
|||||||
return defineConfig({
|
return defineConfig({
|
||||||
test: {
|
test: {
|
||||||
alias: {
|
alias: {
|
||||||
'@/': new URL('./src/', baseUrl).pathname
|
'@/': decodeURI(new URL('./src/', baseUrl).pathname)
|
||||||
},
|
},
|
||||||
dir: 'tests'
|
dir: 'tests'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user