From ee92b5c0459df330af08707bbc1c6acf7945118c Mon Sep 17 00:00:00 2001 From: Christoph Pojer Date: Wed, 7 Dec 2016 20:49:10 -0800 Subject: [PATCH] Add missing slash. Summary: This should be there for consistency. Closes https://github.com/facebook/react-native/pull/11357 Differential Revision: D4294530 Pulled By: kentaromiura fbshipit-source-id: 6219a7c69a65dde21d96bc032fc9a327386a85ca --- jest-preset.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jest-preset.json b/jest-preset.json index 938b9c1328f..994c64c229a 100644 --- a/jest-preset.json +++ b/jest-preset.json @@ -8,7 +8,7 @@ }, "moduleNameMapper": { "^[./a-zA-Z0-9$_-]+\\.(bmp|gif|jpg|jpeg|png|psd|svg|webp)$": "RelativeImageStub", - "^React$": "node_modules/react" + "^React$": "/node_modules/react" }, "modulePathIgnorePatterns": [ "/node_modules/react-native/Libraries/react-native/",