From 3a628928715ea8f46bfb7e0a1e5482898ada8400 Mon Sep 17 00:00:00 2001 From: Alex Demchenko Date: Wed, 21 Oct 2020 12:29:26 +0200 Subject: [PATCH] Fix tests --- __mocks__/react-native-safe-area-context.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/__mocks__/react-native-safe-area-context.ts b/__mocks__/react-native-safe-area-context.ts index 5a37d5e..47ff8d4 100644 --- a/__mocks__/react-native-safe-area-context.ts +++ b/__mocks__/react-native-safe-area-context.ts @@ -1,3 +1,10 @@ +export const useSafeAreaFrame = jest.fn(() => ({ + height: 896, + width: 414, + x: 0, + y: 0, +})) + export const useSafeAreaInsets = jest.fn(() => ({ top: 0, right: 0,