From f0462716c3ebb5a0ebb2b10a3d3f1065124b6ef6 Mon Sep 17 00:00:00 2001 From: Pan Date: Tue, 26 Mar 2019 17:22:12 +0800 Subject: [PATCH] fix jest --- jest.config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jest.config.js b/jest.config.js index f5a99474..1ce813e1 100644 --- a/jest.config.js +++ b/jest.config.js @@ -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',