update dependence

This commit is contained in:
Pan
2018-11-27 16:30:21 +08:00
parent 8836133f66
commit 929a4fc0c8
2 changed files with 9 additions and 6 deletions

View File

@@ -1,6 +1,9 @@
module.exports = {
verbose: true,
moduleFileExtensions: ['js', 'jsx', 'json', 'vue'],
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',