From 4a2c560768abb2d8407900fdb2fbe4971ae00a1c Mon Sep 17 00:00:00 2001 From: gengjiawen Date: Tue, 15 May 2018 13:38:30 -0700 Subject: [PATCH] add missing jest mock in StatusBarManager Summary: fix issue https://github.com/facebook/react-native/issues/11701. Pass current ci [GENERAL] [BUGFIX] [JEST] - add missing jest mock in StatusBarManager Closes https://github.com/facebook/react-native/pull/19017 Differential Revision: D8014888 Pulled By: hramos fbshipit-source-id: 1be29f9643cf0faa53ad64f79e11d48b654a97b3 --- jest/setup.js | 1 + 1 file changed, 1 insertion(+) diff --git a/jest/setup.js b/jest/setup.js index 1cb1eddfa..570c37911 100644 --- a/jest/setup.js +++ b/jest/setup.js @@ -234,6 +234,7 @@ const mockNativeModules = { scriptURL: null, }, StatusBarManager: { + HEIGHT: 42, setColor: jest.fn(), setStyle: jest.fn(), setHidden: jest.fn(),