From 5bbb7d1d5e9c4aa359b91a94bc4e9dc033c1409e Mon Sep 17 00:00:00 2001 From: panwrona Date: Fri, 13 Sep 2019 10:01:19 +0200 Subject: [PATCH] Add proper configuration for Jest tests --- jest.config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/jest.config.js b/jest.config.js index 02b831b..9cce56d 100644 --- a/jest.config.js +++ b/jest.config.js @@ -18,5 +18,8 @@ module.exports = { }, testEnvironment: "node", testMatch: ["**/__tests__/*.js"], - testPathIgnorePatterns: ["/node_modules/", ".eslintrc.js"] + testPathIgnorePatterns: ["/node_modules/", ".eslintrc.js"], + transformIgnorePatterns: [ + "/node_modules/(?!magic-script-components).+(js|jsx)$" + ] };