diff --git a/jest/setup.js b/jest/setup.js index 1cb89755c..bc66b9161 100644 --- a/jest/setup.js +++ b/jest/setup.js @@ -115,6 +115,12 @@ const mockNativeModules = { BuildInfo: { appVersion: '0', buildVersion: '0', + getConstants() { + return { + appVersion: '0', + buildVersion: '0', + }; + }, }, Clipboard: { setString: jest.fn(),