mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-15 02:40:46 +08:00
17 lines
381 B
JavaScript
17 lines
381 B
JavaScript
module.exports = {
|
|
preset: 'ts-jest',
|
|
globals: {
|
|
// work around: https://github.com/kulshekhar/ts-jest/issues/748#issuecomment-423528659
|
|
'ts-jest': {
|
|
diagnostics: {
|
|
ignoreCodes: [151001],
|
|
},
|
|
},
|
|
},
|
|
testEnvironment: 'jsdom',
|
|
transform: {
|
|
"^.+\\.vue$": "vue-jest"
|
|
},
|
|
moduleFileExtensions: ['vue', 'json', 'ts', 'tsx', 'js', 'json']
|
|
}
|