Remove commented code from jestSetup
This commit is contained in:
parent
a9266ba77b
commit
e430873771
13
jestSetup.ts
13
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(),
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user