prepack/test/react
Dominic Gannaway 3503c793eb Fixes incorrect warning of side-effects in #2393 (#2394)
Summary:
Release notes: none

Fixes #2393. I created the test as a React test because I couldn't see any way of making a serializer test fail if there was a warning without making many other tests fail or without adding another `// some config` to the test (which I believe we said we would not add anymore as there's already too many). React tests will always fail on side-effect warnings, so this takes better advantage of this.
Pull Request resolved: https://github.com/facebook/prepack/pull/2394

Differential Revision: D9249714

Pulled By: trueadm

fbshipit-source-id: 0e11d13e575eca3b6bd75e437eb083b9294a3aee
2018-08-09 13:39:07 -07:00
..
__snapshots__ Fixes incorrect warning of side-effects in #2393 (#2394) 2018-08-09 13:39:07 -07:00
AssignSpread Make React tests fast (#2187) 2018-07-02 11:25:58 -07:00
ClassComponents Fix React branch serialization issues (#2318) 2018-07-25 09:55:21 -07:00
FactoryComponents Make React tests fast (#2187) 2018-07-02 11:25:58 -07:00
FBMocks Upgrade Prepack to Babel 7 (#2256) 2018-07-14 09:55:18 -07:00
FirstRenderOnly Reduce React bloat on equivalent objects with similar temporal alias trees (#2193) 2018-07-05 05:09:30 -07:00
FunctionalComponents Fixes incorrect warning of side-effects in #2393 (#2394) 2018-08-09 13:39:07 -07:00
ReactDOM Make React tests fast (#2187) 2018-07-02 11:25:58 -07:00
ReactNative Run Prettier checks on CI (#2212) 2018-07-10 09:55:23 -07:00
Reconciliation Run Prettier checks on CI (#2212) 2018-07-10 09:55:23 -07:00
RenderProps Make React tests fast (#2187) 2018-07-02 11:25:58 -07:00
ServerRendering Make React tests fast (#2187) 2018-07-02 11:25:58 -07:00
AssignSpread-test.js Make React tests fast (#2187) 2018-07-02 11:25:58 -07:00
ClassComponents-test.js Fix React branch serialization issues (#2318) 2018-07-25 09:55:21 -07:00
FactoryComponents-test.js Make React tests fast (#2187) 2018-07-02 11:25:58 -07:00
FBMocks-test.js Improve fb-www mocks objectWithoutProperties value by ensuring we store known values (#2194) 2018-07-02 13:11:28 -07:00
FirstRenderOnly-test.js Reduce React bloat on equivalent objects with similar temporal alias trees (#2193) 2018-07-05 05:09:30 -07:00
FunctionalComponents-test.js Fixes incorrect warning of side-effects in #2393 (#2394) 2018-08-09 13:39:07 -07:00
ReactDOM-test.js Make React tests fast (#2187) 2018-07-02 11:25:58 -07:00
ReactNative-test.js Run Prettier checks on CI (#2212) 2018-07-10 09:55:23 -07:00
Reconciliation-test.js Support React keys in array branches, fixes #2139 (#2157) 2018-07-04 08:23:26 -07:00
RenderProps-test.js Make React tests fast (#2187) 2018-07-02 11:25:58 -07:00
ServerRendering-test.js Make React tests fast (#2187) 2018-07-02 11:25:58 -07:00
setupReactTests.js Upgrade Prepack to Babel 7 (#2256) 2018-07-14 09:55:18 -07:00