Remove fake timers from jestSetup
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.
This commit is contained in:
parent
27ff4861d9
commit
21773e3b4f
|
@ -8,7 +8,6 @@ RNNativeModules.RNViewShot = RNNativeModules.RNViewShot || {
|
||||||
jest.mock('react-native-file-access', () => jest.fn())
|
jest.mock('react-native-file-access', () => jest.fn())
|
||||||
jest.mock('react-native-share', () => jest.fn())
|
jest.mock('react-native-share', () => jest.fn())
|
||||||
jest.mock('react-native/Libraries/Animated/NativeAnimatedHelper')
|
jest.mock('react-native/Libraries/Animated/NativeAnimatedHelper')
|
||||||
jest.useFakeTimers()
|
|
||||||
//jest.mock('react-native-reanimated', () => {
|
//jest.mock('react-native-reanimated', () => {
|
||||||
// const Reanimated = require('react-native-reanimated/mock')
|
// const Reanimated = require('react-native-reanimated/mock')
|
||||||
// Reanimated.default.call = () => {}
|
// Reanimated.default.call = () => {}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user