1 Star 2 Fork 2

data_factory/lobe-chat

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
vitest.server.config.ts 648 Bytes
一键复制 编辑 原始数据 按行查看 历史
ArvinX 提交于 2024-08-19 02:11 . 🐛 fix: fix topic scroll issue (#3505)
import { resolve } from 'node:path';
import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
alias: {
'@': resolve(__dirname, './src'),
},
coverage: {
all: false,
exclude: ['src/database/server/core/dbForTest.ts'],
include: ['src/database/server/**/*.ts'],
provider: 'v8',
reporter: ['text', 'json', 'lcov', 'text-summary'],
reportsDirectory: './coverage/server',
},
environment: 'node',
include: ['src/database/server/**/**/*.test.ts'],
poolOptions: {
threads: { singleThread: true },
},
setupFiles: './tests/setup-db.ts',
},
});
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/data_factory/lobe-chat.git
[email protected]:data_factory/lobe-chat.git
data_factory
lobe-chat
lobe-chat
main

搜索帮助