mirror of
https://github.com/facebook/react-native.git
synced 2024-11-22 06:29:46 +00:00
09a910f80b
Summary: Jest 27 [flips defaults](https://jestjs.io/blog/2021/05/25/jest-27#flipping-defaults), making "modern" fake timers (ie, `sinonjs/fake-timers`) the default, over "legacy", which we currently use. We're not quite ready for modern timers yet, partly due to Promise polyfills (https://github.com/facebook/react-native/pull/34659), and also some internal issues with specific tests. This makes our use of legacy timers explicit in preparation for an update to Jest. A switch to modern timers may follow later. Changelog: [Internal][Changed] - Prepare for Jest 27+ by making legacy fake timer use explicit Reviewed By: jacdebug Differential Revision: D39383719 fbshipit-source-id: 6a3dc6f8547cc76f7702a5a39c9b30a184303f17 |
||
---|---|---|
.. | ||
console.js | ||
global.js | ||
HermesInternalType.js | ||
jest.js | ||
JSITimerInternalType.js | ||
Position.js | ||
Stringish.js | ||
use-sync-external-store.js |