3c4b1d6c4f
Summary: The following pull-requests adds test for the `processColorArray` function. This ensures that the mapping is respected even in the `processColor` file changes. It also ensures that the mapping follows the basic expected functionality ## Changelog [General] [Added] - Add test for the `processColorArray` to make sure it maps correctly Pull Request resolved: https://github.com/facebook/react-native/pull/27344 Test Plan: - Run `npm run test Libraries/StyleSheet/__tests__/processColorArray-test.js` to ensure tests pass - Run `npm run lint` to make sure there are no styling conflicts. <img width="454" alt="Screen Shot 2019-11-26 at 3 24 44 PM" src="https://user-images.githubusercontent.com/31664059/69680816-e8641780-1060-11ea-89ca-336c5534eb16.png"> Differential Revision: D18770069 Pulled By: hramos fbshipit-source-id: 1a8647931818360b9912dc6fb50c339a91b9d4ea |
||
---|---|---|
.. | ||
__flowtests__ | ||
__tests__ | ||
EdgeInsetsPropType.js | ||
PointPropType.js | ||
StyleSheet.js | ||
StyleSheetTypes.js | ||
StyleSheetValidation.js | ||
flattenStyle.js | ||
normalizeColor.js | ||
processColor.js | ||
processColorArray.js | ||
processTransform.js | ||
setNormalizedColorAlpha.js | ||
splitLayoutProps.js |