about summary refs log tree commit diff
path: root/jest
diff options
context:
space:
mode:
Diffstat (limited to 'jest')
-rw-r--r--jest/jestSetup.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/jest/jestSetup.js b/jest/jestSetup.js
index 0ed720118..c3160df3b 100644
--- a/jest/jestSetup.js
+++ b/jest/jestSetup.js
@@ -105,3 +105,19 @@ jest.mock('expo-modules-core', () => ({
     return () => null
   }),
 }))
+
+jest.mock('expo-localization', () => ({
+  getLocales: () => [],
+}))
+
+jest.mock('statsig-react-native-expo', () => ({
+  Statsig: {
+    initialize() {},
+    initializeCalled() {
+      return false
+    },
+  },
+}))
+
+jest.mock('../src/lib/bitdrift', () => ({}))
+jest.mock('../src/lib/statsig/statsig', () => ({}))