28 Star 180 Fork 55

zlq4863947 / m3k6

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
jest.config.js 637 Bytes
一键复制 编辑 原始数据 按行查看 历史
zlq4863947 提交于 2019-12-21 12:06 . !4增加ci配置
module.exports = {
rootDir: '.',
setupFilesAfterEnv: ['./jest.setup.js'],
moduleFileExtensions: ['js', 'json', 'ts'],
modulePathIgnorePatterns: ['dist', '.history'],
globals: {
'ts-jest': {
tsConfig: './tsconfig.spec.json',
isolatedModules: true
},
},
transform: {
'^.+\\.ts$': 'ts-jest',
},
testMatch: ['<rootDir>/test/**/*.spec.ts'],
testURL: 'http://localhost/',
collectCoverageFrom: ['assets/script/**/*.{js,ts}', '!**/node_modules/**'],
coveragePathIgnorePatterns: ['/node_modules/', '/test-helpers/'],
coverageReporters: ['json', 'lcov'],
verbose: true,
preset: 'ts-jest',
};
TypeScript
1
https://gitee.com/zlq4863947/m3k6.git
git@gitee.com:zlq4863947/m3k6.git
zlq4863947
m3k6
m3k6
master

搜索帮助