From e430873771d348a1b931bd5b0c038b1db827a134 Mon Sep 17 00:00:00 2001 From: Brandon Presley Date: Fri, 30 Dec 2022 12:35:19 +1300 Subject: [PATCH] Remove commented code from jestSetup --- jestSetup.ts | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/jestSetup.ts b/jestSetup.ts index 64d7f6f..a58c006 100644 --- a/jestSetup.ts +++ b/jestSetup.ts @@ -1,19 +1,6 @@ import 'react-native-gesture-handler/jestSetup' import {NativeModules as RNNativeModules} from 'react-native' -//RNNativeModules.UIManager = RNNativeModules.UIManager || {}; -//RNNativeModules.UIManager.RCTView = RNNativeModules.UIManager.RCTView || {}; -//RNNativeModules.RNGestureHandlerModule = -// RNNativeModules.RNGestureHandlerModule || { -// State: {BEGAN: 'BEGAN', FAILED: 'FAILED', ACTIVE: 'ACTIVE', END: 'END'}, -// attachGestureHandler: jest.fn(), -// createGestureHandler: jest.fn(), -// dropGestureHandler: jest.fn(), -// updateGestureHandler: jest.fn(), -// }; -//RNNativeModules.PlatformConstants = RNNativeModules.PlatformConstants || { -// forceTouchAvailable: false, -//}; RNNativeModules.RNViewShot = RNNativeModules.RNViewShot || { captureScreen: jest.fn(), }