Brandon Presley
21773e3b4f
I believe this was from ages ago when I was using `setInterval` to try and keep state of the timers from JavaScript. Now we are relying on our timers in Kotlin so we don't need this any more.
16 lines
549 B
TypeScript
16 lines
549 B
TypeScript
import 'react-native-gesture-handler/jestSetup'
|
|
import {NativeModules as RNNativeModules} from 'react-native'
|
|
|
|
RNNativeModules.RNViewShot = RNNativeModules.RNViewShot || {
|
|
captureScreen: jest.fn(),
|
|
}
|
|
|
|
jest.mock('react-native-file-access', () => jest.fn())
|
|
jest.mock('react-native-share', () => jest.fn())
|
|
jest.mock('react-native/Libraries/Animated/NativeAnimatedHelper')
|
|
//jest.mock('react-native-reanimated', () => {
|
|
// const Reanimated = require('react-native-reanimated/mock')
|
|
// Reanimated.default.call = () => {}
|
|
// return Reanimated
|
|
//})
|