1 Star 0 Fork 33

feiman/G2Plot

forked from antv/G2Plot 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
jest.config.js 843 Bytes
一键复制 编辑 原始数据 按行查看 历史
visiky 提交于 2022-12-10 21:51 . chore: update deploy action (#3417)
// Installing third-party modules by tnpm or cnpm will name modules with underscore as prefix.
// In this case _{module} is also necessary.
const esm = ['internmap', 'd3-*', 'lodash-es'].map((d) => `_${d}|${d}`).join('|');
module.exports = {
runner: 'jest-electron/runner',
testEnvironment: 'jest-electron/environment',
testTimeout: 30000,
setupFilesAfterEnv: ['jest-extended', './jest.setup.js'],
preset: 'ts-jest',
collectCoverage: false,
collectCoverageFrom: [
'src/**/*.ts',
'!**/node_modules/**',
'!**/vendor/**',
'!**/_template/**',
'!**/interactions/**',
'!**/venn/layout/**',
],
testRegex: '/__tests__/.*-spec\\.ts?$',
moduleNameMapper: {
'lodash-es': 'lodash',
'd3-color': 'd3-color/dist/d3-color.min.js',
'd3-interpolate': 'd3-interpolate/dist/d3-interpolate.min.js',
},
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/feiman8888/g2plot.git
git@gitee.com:feiman8888/g2plot.git
feiman8888
g2plot
G2Plot
master

搜索帮助