1 Star 0 Fork 0

CCUU / teleport

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
jest.config.js 752 Bytes
一键复制 编辑 原始数据 按行查看 历史
const config = require('@gravitational/build/jest/config');
process.env.TZ = 'UTC';
const esModules = ['strip-ansi', 'ansi-regex', 'd3-color'].join('|');
/** @type {import('@jest/types').Config.InitialOptions} */
module.exports = {
...config,
globals: {
electron: {},
},
collectCoverageFrom: [
// comment out until shared directory is finished testing
// '**/packages/design/src/**/*.jsx',
'**/packages/shared/components/**/*.jsx',
],
transformIgnorePatterns: [`/node_modules/(?!${esModules})`],
coverageReporters: ['text-summary', 'lcov'],
testPathIgnorePatterns: ['e2e'],
setupFilesAfterEnv: [
'<rootDir>/web/packages/shared/setupTests.tsx',
'<rootDir>/web/packages/build/jest/customMatchers.ts',
],
};
1
https://gitee.com/ccuuwb/teleport.git
git@gitee.com:ccuuwb/teleport.git
ccuuwb
teleport
teleport
master

搜索帮助