Files
CherryHQ-cherry-studio/packages/ui/vitest.config.ts
亢奋猫 dee3bb0928 feat(settings): refactor settings UI and add settings window (#14567)
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>
2026-05-08 18:09:26 +08:00

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}'
]
}
})