21 Star 101 Fork 47

Tencent/tmagic-editor

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
vitest.config.ts 540 Bytes
一键复制 编辑 原始数据 按行查看 历史
roymondchen 提交于 2024-05-09 20:49 . test: 完善测试用例
import { resolve } from 'path';
import { defineConfig } from 'vitest/config';
import Vue from '@vitejs/plugin-vue';
const r = (p: string) => resolve(__dirname, p);
export default defineConfig({
plugins: [Vue()],
test: {
include: ['./packages/*/tests/**'],
environment: 'jsdom',
coverage: {
extension: ['.ts', '.vue'],
},
},
resolve: {
alias: {
'@editor': r('./packages/editor/src'),
'@form': r('./packages/form/src'),
'@data-source': r('./packages/data-source/src'),
},
},
});
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_Tencent/tmagic-editor.git
git@gitee.com:mirrors_Tencent/tmagic-editor.git
mirrors_Tencent
tmagic-editor
tmagic-editor
master

搜索帮助