Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Tests] Update tests to run on io.js with the latest version of jest
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 facebook/react-native#1382 Github Author: James Ide <ide@jameside.com> Test Plan: Run `npm test` with the latest version of jest.
- Loading branch information