1 Star 1 Fork 386

云龙兄 / element-plus

forked from element-plus / element-plus 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
jest.config.js 923 Bytes
一键复制 编辑 原始数据 按行查看 历史
Herrington Darkholme 提交于 2020-10-27 16:52 . Update jest.config.js
module.exports = {
globals: {
// work around: https://github.com/kulshekhar/ts-jest/issues/748#issuecomment-423528659
'ts-jest': {
diagnostics: {
ignoreCodes: [151001],
},
},
},
testEnvironment: 'jsdom',
transform: {
'^.+\\.vue$': 'vue-jest',
'^.+\\.(t|j)sx?$': [
'babel-jest', {
presets: [
[
'@babel/preset-env',
{
targets: {
node: true,
},
},
],
'@babel/preset-typescript',
],
plugins: [
'@vue/babel-plugin-jsx',
'@babel/plugin-proposal-class-properties',
],
},
],
},
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>'],
}
JavaScript
1
https://gitee.com/cthtianhua220/element-plus.git
git@gitee.com:cthtianhua220/element-plus.git
cthtianhua220
element-plus
element-plus
dev

搜索帮助