mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 01:25:39 +00:00
5aa27586f0
Summary: [This is a preview diff for getting RN's tests to pass with a future version of jest that supports io.js and other future versions of Node. This can be merged once the diff to update jest is merged upstream and published.] Updates the tests in small ways so they run on io.js with two updates: - The Cache test which relies on Promises uses `runAllImmediates` for modern versions of Node because bluebird uses `setImmediate` instead of `process.nextTick` for Node >0.10. Closes https://github.com/facebook/react-native/pull/1382 Github Author: James Ide <ide@jameside.com> Test Plan: Run `npm test` with the latest version of jest.