1 Star 0 Fork 0

石利/tmagic-editor

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
vitest.config.ts 1009 Bytes
一键复制 编辑 原始数据 按行查看 历史
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/**', './runtime/*/tests/**'],
environment: 'jsdom',
environmentMatchGlobs: [['packages/cli/**', 'node']],
coverage: {
exclude: [
'./runtime/**',
'./playground/**',
'./docs/**',
'./packages/*/types/**',
'./packages/*/tests/**',
'./packages/cli/lib/**',
'./packages/ui/**',
'./packages/ui-react/**',
'./packages/design/**',
'./packages/element-plus-adapter/**',
'./packages/tdesign-vue-next-adapter/**',
],
extension: ['.ts', '.vue'],
},
},
resolve: {
alias: {
'@editor': r('./packages/editor/src'),
'@form': r('./packages/form/src'),
'@data-source': r('./packages/data-source/src'),
},
},
});
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wuzisanshengshi/tmagic-editor.git
git@gitee.com:wuzisanshengshi/tmagic-editor.git
wuzisanshengshi
tmagic-editor
tmagic-editor
master

搜索帮助