From 0cb7316311e01ba3a8b00ee8c8f46bef047f2edc Mon Sep 17 00:00:00 2001 From: Sebastian Markbage Date: Fri, 10 Feb 2017 13:39:36 -0800 Subject: [PATCH] Unmock and disable tests in the React renderer Summary: We should unmock React just because we do that elsewhere and tests work better that way. I was trying to get React tests working in this repo but because we do so many special things in the React Core repo I gave up. These test run in the React Core repo already. Reviewed By: spicyj, bvaughn Differential Revision: D4541126 fbshipit-source-id: ffbb1b76aac910a976222db91b80b8839fcecc60 --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index 4c0373167ab..330e165e8b0 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "^[./a-zA-Z0-9$_-]+\\.png$": "RelativeImageStub" }, "testPathIgnorePatterns": [ + "Libraries/Renderer", "/node_modules/", "/website/", "local-cli/templates/" @@ -73,6 +74,8 @@ "/website/" ], "unmockedModulePathPatterns": [ + "node_modules/react/", + "Libraries/Renderer", "promise", "source-map", "fastpath",