97 Star 458 Fork 115

GVPantv / F2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
jest.config.js 732 Bytes
一键复制 编辑 原始数据 按行查看 历史
索丘 提交于 2023-11-21 18:37 . chore: 调整覆盖率统计范围 (#1886)
module.exports = {
runner: 'jest-electron/runner',
testEnvironment: 'jest-electron/environment',
preset: 'ts-jest/presets/js-with-ts',
collectCoverage: false,
collectCoverageFrom: [
'packages/*/src/**/*.{ts,tsx,js}',
'!**/node_modules/**',
'!packages/*/src/deps/**/*.{ts,tsx,js}',
],
modulePathIgnorePatterns: ['packages/*/dist'],
moduleFileExtensions: ['tsx', 'ts', 'js', 'jsx', 'json'],
testPathIgnorePatterns: [],
testRegex: '/test/.*\\.test\\.tsx?$',
setupFilesAfterEnv: ['<rootDir>/jest-setup.js'],
testTimeout: 10000,
transform: {
'^.+\\.[tj]s$': 'ts-jest',
},
globals: {
'ts-jest': {
tsConfig: {
allowJs: true,
target: 'ES2019',
},
},
},
};
JavaScript
1
https://gitee.com/antv/f2.git
git@gitee.com:antv/f2.git
antv
f2
F2
master

搜索帮助