1 Star 0 Fork 18

尘了无痕/better-scroll

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
jest.config.js 712 Bytes
一键复制 编辑 原始数据 按行查看 历史
jz 提交于 2020-08-23 17:44 . fix(all): fix tests and bump version
module.exports = {
"verbose": true,
globals: {},
"roots": ["<rootDir>"],
"cache": false,
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|js)$",
"testPathIgnorePatterns": [
'/__tests__/__utils__'
],
"transform": {
".ts": "ts-jest"
},
"testEnvironment": "jsdom",
"moduleFileExtensions": [
"ts",
"js"
],
"moduleNameMapper": {
'^@better-scroll/(.*)/(.*)$': '<rootDir>/packages/$1/$2',
'^@better-scroll/(.*)$': '<rootDir>/packages/$1/src/index',
'^@/(.*)$': '<rootDir>/$1'
},
"coverageDirectory": "<rootDir>/tests/coverage",
"coveragePathIgnorePatterns": [
"/test/",
"/__tests__/"
],
"coverageReporters": ['json', 'text', 'lcov', 'clover']
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/worldcode7753/better-scroll.git
[email protected]:worldcode7753/better-scroll.git
worldcode7753
better-scroll
better-scroll
dev

搜索帮助