1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-09-07 10:29:49 +08:00
This commit is contained in:
Pan 2019-03-26 17:22:12 +08:00
parent be2e71d4a7
commit f0462716c3

View File

@ -1,9 +1,9 @@
module.exports = {
verbose: true,
moduleFileExtensions: ['js', 'jsx', 'json', 'vue'],
// transformIgnorePatterns: [
// 'node_modules/(?!(babel-jest|jest-vue-preprocessor)/)'
// ],
transformIgnorePatterns: [
'node_modules/(?!(babel-jest|jest-vue-preprocessor)/)'
],
transform: {
'^.+\\.vue$': 'vue-jest',
'.+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$': 'jest-transform-stub',