1 Star 0 Fork 153

江志豪/vue-cesium

forked from zouyaoji/vue-cesium 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
jest.config.js 1.19 KB
Copy Edit Raw Blame History
zouyaoji authored 2022-02-10 14:50 . test: refactor test
/*
* @Author: zouyaoji@https://github.com/zouyaoji
* @Date: 2021-08-23 17:19:18
* @LastEditTime: 2022-02-09 17:00:11
* @LastEditors: zouyaoji
* @Description:
* @FilePath: \vue-cesium@next\jest.config.js
*/
module.exports = {
globals: {
// work around: https://github.com/kulshekhar/ts-jest/issues/748#issuecomment-423528659
'ts-jest': {
diagnostics: {
ignoreCodes: [151001]
}
}
},
runner: 'jest-electron/runner',
testEnvironment: 'jest-electron/environment',
transform: {
// Doesn't support jsx/tsx since sucrase doesn't support Vue JSX
'\\.(j|t)s$': '@sucrase/jest-plugin',
'^.+\\.vue$': 'vue-jest'
},
// moduleNameMapper: {
// '^lodash-es$': 'lodash'
// },
moduleFileExtensions: ['ts', 'tsx', 'js', 'json'],
// u can change this option to a more specific folder for test single component or util when dev
// for example, ['<rootDir>/packages/input']
roots: ['<rootDir>'],
testPathIgnorePatterns: ['/node_modules/', 'dist'],
modulePathIgnorePatterns: ['/node_modules/', 'dist'],
collectCoverage: true,
coverageDirectory: 'coverage',
coverageReporters: ['html', 'lcov', 'text'],
collectCoverageFrom: ['packages/*/src/**/*.ts']
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/J_zhihao/vue-cesium.git
git@gitee.com:J_zhihao/vue-cesium.git
J_zhihao
vue-cesium
vue-cesium
dev

Search

0d507c66 1850385 C8b1a773 1850385