1 Star 0 Fork 1

Foreverddb/DdBind

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
vitest.config.ts 784 Bytes
一键复制 编辑 原始数据 按行查看 历史
Foreverddb 提交于 2023-01-25 16:08 . test: complete unit testcases.
import {resolve} from 'path'
import {configDefaults, defineConfig} from "vitest/config";
export default defineConfig({
resolve: {
alias: {
compiler: resolve("src/compiler"),
types: resolve("src/types"),
reactivity: resolve("src/reactivity"),
renderer: resolve("src/renderer"),
core: resolve("src/core"),
utils: resolve("src/utils"),
DdBind: resolve("src/module")
}
},
define: {
__DEV__: false,
__TEST__: true
},
test: {
globals: true,
environment: 'jsdom',
isolate: true,
exclude: [...configDefaults.exclude],
coverage: {
provider: "c8",
reporter: ["text", "json"]
}
}
})
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/foreverddb/DdBind.git
[email protected]:foreverddb/DdBind.git
foreverddb
DdBind
DdBind
master

搜索帮助