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:
parent
34edf92cbf
commit
0cb7316311
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue