mirror of
https://github.com/lobehub/lobe-chat.git
synced 2026-06-14 03:30:19 +00:00
17 lines
341 B
TypeScript
17 lines
341 B
TypeScript
import { resolve } from 'node:path';
|
|
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
alias: {
|
|
'@': resolve(__dirname, './src'),
|
|
},
|
|
coverage: {
|
|
provider: 'v8',
|
|
reporter: ['text', 'json', 'lcov', 'text-summary'],
|
|
},
|
|
environment: 'jsdom',
|
|
globals: true,
|
|
},
|
|
});
|