1 Star 0 Fork 123

木偶/editor

forked from umodoc/editor 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
vitest.config.ts 637 Bytes
一键复制 编辑 原始数据 按行查看 历史
import { defineConfig, mergeConfig } from 'vitest/config'
import viteConfig from './vite.config'
const testConfig = defineConfig({
test: {
environment: 'jsdom',
globals: true,
setupFiles: [],
coverage: {
include: ['src'],
exclude: ['**/*.spec.*', '**/*.d.ts', 'src/types.ts', 'testing/*'],
},
onConsoleLog(log: string) {
if (
log.includes(
'Error: Not implemented: HTMLFormElement.prototype.requestSubmit',
) ||
log.includes('(node:25503) [DEP0040]')
) {
return false
}
},
},
})
export default mergeConfig(viteConfig, testConfig)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/TasteShare/editor.git
git@gitee.com:TasteShare/editor.git
TasteShare
editor
editor
main

搜索帮助