mirror of
https://github.com/facebook/react-native.git
synced 2024-11-21 21:27:46 +00:00
89a7238acd
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/47646 changelog: [internal] In order to control scheduling of tests, test setup must be separated from test running. This is because of how internal scheduling of React Native is restricted until bundle is loaded via BufferedRuntimeExecutor. This is the reason for executing tests by calling global function `$$RunTests$$`. This is not a pretty solution but it is hidden within testing infrastructure and users of our test infra are not exposed to this. There is a new method exposed to JavaScript: flushMessageQueue. This will flush everything that is inside of message queue. This is the queue where tasks are queued whenever RuntimeScheduler enqueues something by calling `runtimeExecutor_`. Reviewed By: christophpurrer Differential Revision: D65951894 fbshipit-source-id: 2e8e0c10fbeb998f4a51ee6d01ef229eb5f70448 |
||
---|---|---|
.. | ||
integration | ||
preprocessor.js |