1 Star 0 Fork 154

hella_cat/vue-cesium

forked from zouyaoji/vue-cesium 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
jest.config.js 1.09 KB
一键复制 编辑 原始数据 按行查看 历史
zouyaoji 提交于 2021-12-05 23:01 . build: move to pnpm
/*
* @Author: zouyaoji@https://github.com/zouyaoji
* @Date: 2021-08-23 17:19:18
* @LastEditTime: 2021-12-04 17:07:09
* @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',
},
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>'],
modulePathIgnorePatterns: ['<rootDir>/packages/vue-cesium'],
collectCoverage: true,
coverageDirectory: 'coverage',
coverageReporters: ['html', 'lcov', 'text'],
collectCoverageFrom: [
'packages/*/src/**/*.ts'
]
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/hella-cat/vue-cesium.git
git@gitee.com:hella-cat/vue-cesium.git
hella-cat
vue-cesium
vue-cesium
dev

搜索帮助