1 Star 0 Fork 16

顾志雄/Bittly

forked from Gitee 极速下载/Bittly 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
jest.config.js 692 Bytes
一键复制 编辑 原始数据 按行查看 历史
四格 提交于 2022-11-11 13:12 . init
/**
* configuration file for jest
*/
const {Buffer} = require('buffer')
module.exports = {
/**
* coverage settings
* @link https://jestjs.io/docs/configuration#collectcoverage-boolean
*/
collectCoverage: true,
coverageDirectory : 'tests/coverage-report',
coverageReporters: ["clover", "json", "lcov","text-summary"],
coveragePathIgnorePatterns : ["/node_modules/","i18n","migrations","Mocker.js"],
globals : {
Uint8Array : Uint8Array,
Buffer : Buffer,
},
setupFiles: ["jest-canvas-mock"],
preset: '@vue/cli-plugin-unit-jest',
moduleNameMapper: {
"\\.(css|less|scss|sss|styl)$": "jest-css-modules"
},
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/guzhixiong/Bittly.git
git@gitee.com:guzhixiong/Bittly.git
guzhixiong
Bittly
Bittly
main

搜索帮助