Fix JSLocaleTest

Summary: becausereasons

Reviewed By: mdvacca

Differential Revision: D8838902

fbshipit-source-id: 0c6ca5ccde0439cacfa02771b2d99f26aa86f573
This commit is contained in:
Andrew Chen (Eng) 2018-07-16 11:12:05 -07:00 committed by Facebook Github Bot
parent 9d5bd50737
commit 123b3e1a8e
1 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,7 @@ import com.facebook.react.bridge.CatalystInstance;
import com.facebook.react.bridge.JavaScriptModule;
import com.facebook.react.bridge.UiThreadUtil;
import com.facebook.react.modules.appstate.AppStateModule;
import com.facebook.react.modules.core.ReactChoreographer;
import com.facebook.react.modules.deviceinfo.DeviceInfoModule;
import com.facebook.react.testing.FakeWebSocketModule;
import com.facebook.react.testing.ReactIntegrationTestCase;
@ -50,6 +51,7 @@ public class JSLocaleTest extends ReactIntegrationTestCase {
new Runnable() {
@Override
public void run() {
ReactChoreographer.initialize();
mUIManager.onHostResume();
}
});