MM-55621 fix layout for tablets and foldables (#7697)

* MM-55621 fix layout for tablets and foldables

* feedback review
This commit is contained in:
Elias Nahum
2023-12-05 11:08:43 +08:00
committed by GitHub
parent d469470592
commit de57c343f0
28 changed files with 228 additions and 125 deletions

View File

@@ -109,7 +109,7 @@ jest.doMock('react-native', () => {
SplitView: {
addListener: jest.fn(),
removeListeners: jest.fn(),
isRunningInSplitView: jest.fn().mockResolvedValue(() => ({isSplitView: false, isTablet: false})),
isRunningInSplitView: jest.fn().mockReturnValue(() => ({isSplitView: false, isTablet: false})),
},
Notifications: {
getDeliveredNotifications: jest.fn().mockResolvedValue([]),