test: ui alias

This commit is contained in:
zernonia 2024-02-06 11:40:29 +08:00
parent 8c7f816502
commit 7fbc24682b
2 changed files with 4 additions and 2 deletions

View File

@ -8,6 +8,7 @@
},
"aliases": {
"utils": "~/lib/utils",
"components": "~/components"
"components": "~/components",
"ui": "~/ui"
}
}

View File

@ -97,6 +97,7 @@ test('get config', async () => {
},
aliases: {
components: '~/components',
ui: '~/ui',
utils: '~/lib/utils',
},
framework: 'Vite',
@ -119,7 +120,7 @@ test('get config', async () => {
ui: path.resolve(
__dirname,
'../fixtures/config-full',
'./src/components',
'./src/ui',
),
utils: path.resolve(
__dirname,