@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.
22 lines (20 loc) • 603 B
text/typescript
import { resolve } from 'node:path';
import { coverageConfigDefaults, defineConfig } from 'vitest/config';
export default defineConfig({
test: {
alias: {
// TODO: 目前仍然残留 ModelRuntime.test.ts 中的部分测试依赖了主项目的内容,后续需要拆分测试
'@': resolve(__dirname, '../../src'),
},
coverage: {
exclude: [
...coverageConfigDefaults.exclude,
'**/types/**',
'**/type.ts',
'**/utils/index.ts',
],
reporter: ['text', 'json', 'lcov', 'text-summary'],
},
environment: 'happy-dom',
},
});