1 Star 0 Fork 0

zhengaimin / zTools

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
jest.config.ts 579 Bytes
一键复制 编辑 原始数据 按行查看 历史
aimin.zheng 提交于 2021-07-27 19:52 . feat: dom
/*
* For a detailed explanation regarding each configuration property and type check, visit:
* https://jestjs.io/docs/configuration
*/
// jest.config.ts
import type { Config } from '@jest/types';
// Sync object
const config: Config.InitialOptions = {
verbose: true,
roots: ['<rootDir>'],
// 覆盖率收集
collectCoverageFrom: ['src/**/*.{ts,js}'],
testMatch: ['<rootDir>/test/**/*.spec.{ts, js}'],
globals: {
'ts-jest': {
diagnostics: false,
},
},
setupFilesAfterEnv: ['jest-extended', '<rootDir>/setup/index.ts'],
};
export default config;
1
https://gitee.com/zhengaimin/z-tools.git
git@gitee.com:zhengaimin/z-tools.git
zhengaimin
z-tools
zTools
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891