react-native-macos/Libraries
Casper Boone f541c34067 Add tests for utilities (#23989)
Summary:
This PR add tests for several utilities in `Libraries/Utilities`, as a follow-up of #23903.

The following utilities are now tested:
* `clamp.js`
* `binareToBase64.js`
* `DeviceInfo.js`
* `mergeIntoFast.js`
* `PixelRatio.js`
* `infoLog.js`
* `logError.js`
* `warnOnce.js`
* `mapWithSeparator` (added a missing test)

Not applicable, since it only adds tests.
Pull Request resolved: https://github.com/facebook/react-native/pull/23989

Differential Revision: D14502806

Pulled By: cpojer

fbshipit-source-id: e2c3b3a35f4f765d5336b998ab92dba14eeac7bc
2019-03-18 07:40:55 -07:00
..
ART Split React.podspec into separate podspecs for each Xcode project (#23559) 2019-02-21 18:35:44 -08:00
ActionSheetIOS Split React.podspec into separate podspecs for each Xcode project (#23559) 2019-02-21 18:35:44 -08:00
Alert Properly gate platform specific code in Alert 2019-02-13 04:24:12 -08:00
Animated Upgrade fbjs-scripts to 1.1.0 2019-02-28 09:46:05 -08:00
AppState Remove android initialAppState fallback check (#23487) 2019-02-17 15:32:13 -08:00
BatchedBridge Use `invariant` instead of `fbjs/lib/invariant` 2018-12-03 00:07:02 -08:00
Blob Bump Prettier to 1.16.4 2019-03-14 07:00:27 -07:00
BugReporting Upgrade to Flow v0.88.0 2018-12-11 20:01:00 -08:00
CameraRoll RCTCameraRollManager: fix "all" photos filter 2019-02-26 11:29:56 -08:00
Color Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Components - add more iOS flags into AccessibilityInfo (#23913) 2019-03-15 11:34:20 -07:00
Core Use GlobalPerformanceLogger explicitly during bundle load 2019-03-14 06:49:46 -07:00
DeprecatedPropTypes Use `invariant` instead of `fbjs/lib/invariant` 2018-12-03 00:07:02 -08:00
EventEmitter Use `invariant` instead of `fbjs/lib/invariant` 2018-12-03 00:07:02 -08:00
Experimental Flow strict ScrollView; get rid of InternalScrollViewType (#22301) 2019-03-08 11:39:41 -08:00
Geolocation Deploy 0.94 to xplat 2019-03-06 14:57:30 -08:00
Image Bump Prettier to 1.16.4 2019-03-14 07:00:27 -07:00
Inspector Resolve relative size rendering error in inspector (#23804) 2019-03-13 02:07:02 -07:00
Interaction Bump Prettier to 1.16.4 2019-03-14 07:00:27 -07:00
JSInspector Remove explicit requires of Map and Set 2018-10-19 10:57:24 -07:00
LayoutAnimation Globally disable LayoutAnimation during Snapshot Tests 2019-01-24 15:24:59 -08:00
Linking Bump Prettier to 1.16.4 2019-03-14 07:00:27 -07:00
LinkingIOS Allow linking to non-http/https system schemes 2019-02-27 20:49:11 -08:00
Lists Bump Prettier to 1.16.4 2019-03-14 07:00:27 -07:00
Modal RCTModalHostView (#23030) 2019-01-17 02:41:59 -08:00
NativeAnimation Use surface observer for Animated 2019-03-07 17:39:00 -08:00
Network Make FBReactModule, RCTNetworking, and RCTImageLoader use new Plugin API 2019-03-12 21:07:36 -07:00
Performance Use `invariant` instead of `fbjs/lib/invariant` 2018-12-03 00:07:02 -08:00
PermissionsAndroid feat(permissions-android): export Rationale type and add missing properties according to docs (#23510) 2019-02-18 07:04:58 -08:00
PushNotificationIOS Split React.podspec into separate podspecs for each Xcode project (#23559) 2019-02-21 18:35:44 -08:00
ReactNative Move RCTTest & takeSnapshot to RNTester (#23721) 2019-03-14 11:24:21 -07:00
Renderer React sync for revisions f24a0da...8e25ed2 2019-02-27 07:57:19 -08:00
Sample RN: Missing Copyright Headers 2018-10-31 01:37:26 -07:00
Settings Split React.podspec into separate podspecs for each Xcode project (#23559) 2019-02-21 18:35:44 -08:00
Share Use `invariant` instead of `fbjs/lib/invariant` 2018-12-03 00:07:02 -08:00
Storage Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
StyleSheet Remove LayoutStyle, ShadowStyle, TransformStyle in favor of just ViewStyleProp 2019-01-08 18:49:37 -08:00
SurfaceBackedComponent RCTSurface: Calling `start` is now required to start the Surface 2018-12-18 12:57:38 -08:00
SurfaceHostingComponent Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Text Fix semi-transparent backgrounds on Text components (#23872) 2019-03-14 10:23:19 -07:00
TurboModule Only call __turboModuleProxy when it exists 2019-02-04 11:08:10 -08:00
Types Flow strict ScrollView; get rid of InternalScrollViewType (#22301) 2019-03-08 11:39:41 -08:00
Utilities Add tests for utilities (#23989) 2019-03-18 07:40:55 -07:00
Vibration Split React.podspec into separate podspecs for each Xcode project (#23559) 2019-02-21 18:35:44 -08:00
WebSocket Bump Prettier to 1.16.4 2019-03-14 07:00:27 -07:00
Wrapper Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
YellowBox Bump Prettier to 1.16.4 2019-03-14 07:00:27 -07:00
fishhook Split React.podspec into separate podspecs for each Xcode project (#23559) 2019-02-21 18:35:44 -08:00
polyfills Added groupCollapsed polyfill (#21457) 2019-01-22 07:05:22 -08:00
react-native Add deprecation warning for status-bar (#23898) 2019-03-15 03:54:44 -07:00
vendor Deploy 0.94 to xplat 2019-03-06 14:57:30 -08:00
.npmignore
Promise.js Deploy 0.94 to xplat 2019-03-06 14:57:30 -08:00
UTFSequence.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
promiseRejectionIsError.js Deploy 0.94 to xplat 2019-03-06 14:57:30 -08:00