From da8e9bc1b4e30969b83ae9aeeded8cdefcea9af2 Mon Sep 17 00:00:00 2001 From: Kyle Roach Date: Tue, 6 Nov 2018 02:00:35 -0400 Subject: [PATCH] fix(react-native-modal-box): Fix tests Fixes #30296 --- types/react-native-modalbox/react-native-modalbox-tests.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/react-native-modalbox/react-native-modalbox-tests.tsx b/types/react-native-modalbox/react-native-modalbox-tests.tsx index a2e54a7653..31f104161f 100644 --- a/types/react-native-modalbox/react-native-modalbox-tests.tsx +++ b/types/react-native-modalbox/react-native-modalbox-tests.tsx @@ -16,6 +16,8 @@ interface State { sliderValue: number; } +const screen = Dimensions.get('window'); + class Example extends React.Component<{}, State> { modal1: Modal; modal2: Modal;