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
This commit is contained in:
Sebastian Markbage 2017-02-10 13:39:36 -08:00 committed by Facebook Github Bot
parent 34edf92cbf
commit 0cb7316311
1 changed files with 3 additions and 0 deletions

View File

@ -24,6 +24,7 @@
"^[./a-zA-Z0-9$_-]+\\.png$": "RelativeImageStub" "^[./a-zA-Z0-9$_-]+\\.png$": "RelativeImageStub"
}, },
"testPathIgnorePatterns": [ "testPathIgnorePatterns": [
"Libraries/Renderer",
"/node_modules/", "/node_modules/",
"/website/", "/website/",
"local-cli/templates/" "local-cli/templates/"
@ -73,6 +74,8 @@
"<rootDir>/website/" "<rootDir>/website/"
], ],
"unmockedModulePathPatterns": [ "unmockedModulePathPatterns": [
"node_modules/react/",
"Libraries/Renderer",
"promise", "promise",
"source-map", "source-map",
"fastpath", "fastpath",