tooot/jest/react-native.js

7 lines
202 B
JavaScript
Raw Normal View History

2020-12-28 00:59:57 +01:00
jest.mock('react-native/Libraries/LayoutAnimation/LayoutAnimation', () => ({
...require.requireActual(
'react-native/Libraries/LayoutAnimation/LayoutAnimation'
),
configureNext: jest.fn()
}))