Janic Duplessis 0ed31eb3d6 BREAKING - Improve JS transform validation, add tests
Summary:
This improves JS validations of the transform object and makes it a bit stricter (hence the breaking change). When moving transform objects parsing to native (#10658) the validations got out of sync a bit, this makes sure JS validations are the same or stricter than the native ones to make sure we get consistent errors across platforms.

See #12110 for an example of an error that now gets caught by JS validations.

Also added snapshot tests for the errors to make sure `processTransform` throws when passing invalid values. It only tests the validation since the object parsing is now done natively for iOS and Android.

**Test plan**
Test that there are no errors in UIExplorer
Run new unit tests
Closes https://github.com/facebook/react-native/pull/12115

Differential Revision: D4488933

Pulled By: mkonicek

fbshipit-source-id: a714e6175b2892284a44c870506165099efec1ed
2017-02-02 06:28:31 -08:00
..
2016-12-07 17:13:42 -08:00
2017-01-26 11:28:33 -08:00
2016-11-04 05:43:44 -07:00
2017-01-31 13:13:32 -08:00
2017-01-31 11:58:30 -08:00
2017-02-02 05:44:15 -08:00
2016-11-02 12:29:15 -07:00
2016-08-09 06:43:46 -07:00
2017-01-31 13:13:32 -08:00
2017-01-31 13:13:32 -08:00
2017-01-31 13:13:32 -08:00
2017-01-31 11:13:50 -08:00
2016-11-23 11:28:29 -08:00