@lobehub/chat
Version:
Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.
20 lines (18 loc) • 519 B
text/typescript
import { join, resolve } from 'node:path';
import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
alias: {
/* eslint-disable sort-keys-fix/sort-keys-fix */
'@/const': resolve(__dirname, '../const/src'),
'@': resolve(__dirname, '../../src'),
/* eslint-enable */
},
coverage: {
all: false,
reporter: ['text', 'json', 'lcov', 'text-summary'],
},
environment: 'happy-dom',
setupFiles: join(__dirname, './tests/setup.ts'),
},
});