From e7c45e4cad0af1963eb68a0b34828491630b548c Mon Sep 17 00:00:00 2001 From: Anton Reshetov Date: Fri, 12 Apr 2019 17:34:44 +0300 Subject: [PATCH] feat(test): ingore transform patterns --- jest.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jest.config.js b/jest.config.js index 29fee32..4ea9a9a 100644 --- a/jest.config.js +++ b/jest.config.js @@ -10,6 +10,9 @@ module.exports = { '.+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$': 'jest-transform-stub', '^.+\\.jsx?$': 'babel-jest' }, + transformIgnorePatterns: [ + '/node_modules/' + ], moduleNameMapper: { '^@/(.*)$': '/src/$1' },