This commit is contained in:
Hailey
2024-10-02 23:11:27 -07:00
parent 1b7e66f700
commit 5e41b503ad
2 changed files with 12 additions and 3 deletions
+5
View File
@@ -96,6 +96,11 @@ jest.mock('expo-modules-core', () => ({
getIsReducedMotionEnabled: () => false,
}
}
if (moduleName === 'BottomSheet') {
return {
dismissAll: () => {},
}
}
}),
requireNativeViewManager: jest.fn().mockImplementation(moduleName => {
return () => null