From 9c8ea9fd82463427c00461297b9e33619367b42a Mon Sep 17 00:00:00 2001 From: lotp Date: Fri, 21 Apr 2017 02:44:23 +0800 Subject: [PATCH] Bugfix/transform refresh (#3334) * Retransform if the relevant configuration is changed * Correct lint errors * Write unit test * Some reverts. --- packages/jest-runtime/src/transform.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/jest-runtime/src/transform.js b/packages/jest-runtime/src/transform.js index f7dbe920dffc..29496ca1351c 100644 --- a/packages/jest-runtime/src/transform.js +++ b/packages/jest-runtime/src/transform.js @@ -68,6 +68,7 @@ const getCacheKey = ( roots: config.roots, testMatch: config.testMatch, testRegex: config.testRegex, + transform: config.transform, transformIgnorePatterns: config.transformIgnorePatterns, }), );