react-native/Examples
Nick Lockwood 8d44c2db4f Fix bridge tests
Summary:The `RCTDevMenu.hotLoadingAvailable` check always returned YES if `bridge.bundleURL` was nil. This caused the `setHotLoadingEnabled:` method to repeatedly reload the bridge, resulting in the following tests failing:

`- [RCTBridgeTests testHookRegistration];`
`- [RCTBridgeTests testCallNativeMethod];`

Also, the `RUN_RUNLOOP_WHILE()` macro did not actually assert when timing out, and the logic in `- [RCTBridgeTests tearDown];` was broken in such a way that tests would always take 5 seconds to run (and then timeout silently). This adds an assertion, and removes the broken nil check for `jsExecutor`.

Reviewed By: majak

Differential Revision: D2988885

fb-gh-sync-id: 91307585ac8acb0181f0cddeeddf6cb4b198e4fe
shipit-source-id: 91307585ac8acb0181f0cddeeddf6cb4b198e4fe
2016-02-29 09:26:06 -08:00
..
2048 Resolve react flow definitions 2016-02-25 02:45:34 -08:00
Movies Added ability to run Movies app with BUCK 2016-02-25 17:15:58 -08:00
TicTacToe Bot testing: Update TicTacToeApp.js 2016-02-11 08:32:31 -08:00
UIExplorer Fix bridge tests 2016-02-29 09:26:06 -08:00
.eslintrc Add global flow types to eslint globals 2016-01-27 15:55:34 -08:00