mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-07-06 14:01:30 +08:00
Signed-off-by: kangfenmao <kangfenmao@qq.com> Signed-off-by: jdzhang <625013594@qq.com> Co-authored-by: jdzhang <625013594@qq.com> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Co-authored-by: fullex <106392080+0xfullex@users.noreply.github.com>
21 lines
417 B
TypeScript
21 lines
417 B
TypeScript
import { resolve } from 'node:path'
|
|
|
|
import { defineConfig } from 'vitest/config'
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
'@cherrystudio/ui': resolve(__dirname, 'src')
|
|
}
|
|
},
|
|
test: {
|
|
globals: true,
|
|
environment: 'node',
|
|
include: [
|
|
'scripts/**/*.{test,spec}.{ts,tsx}',
|
|
'src/**/*.{test,spec}.{ts,tsx}',
|
|
'src/**/__tests__/**/*.{test,spec}.{ts,tsx}'
|
|
]
|
|
}
|
|
})
|