react-native/local-cli/runIOS/__tests__
Richard Evans 0b5ff0d2b1 Make run-ios find if a device is booted better
Summary:
**Motivation**
This morning I was trying to test on iPhone 7 with iOS 10 so I booted that device and ran "react-native run-ios" expecting it to notice I had a simulator running and install my app to it. Instead it switched my device to the iPhone 6s iOS 9.2. After digging it was found that run-ios did not handle multiple versions of iOS being installed very well when it came to checking for the booted device. This PR resolves that.

**Test plan (required)**
Tests were added for the situation of multiple iOS versions being installed and a slight change to the code was completed to make the new tests pass and continue to keep the old tests passing.
Closes https://github.com/facebook/react-native/pull/10558

Differential Revision: D4163616

Pulled By: hramos

fbshipit-source-id: 26b44fb73ef402ce252e7a754036279e15359170
2016-12-01 09:58:32 -08:00
..
findMatchingSimulator-test.js Make run-ios find if a device is booted better 2016-12-01 09:58:32 -08:00
findXcodeProject-test.js Added `react-native run-ios` 2016-01-05 17:18:49 -08:00
parseIOSDevicesList-test.js cli run-ios on device 2016-09-06 08:13:41 -07:00