mirror of
https://github.com/status-im/react-native.git
synced 2025-02-24 15:18:10 +00:00
Adding mocks for missing native modules
Reviewed By: fkgozali Differential Revision: D5052517 fbshipit-source-id: 649e0f01c3d8534b898690f9140d5fc610676041
This commit is contained in:
parent
93f07ed31d
commit
dc339f77f3
@ -190,6 +190,12 @@ const mockNativeModules = {
|
||||
deleteTimer: jest.fn(),
|
||||
},
|
||||
UIManager: {
|
||||
AndroidViewPager: {
|
||||
Commands: {
|
||||
setPage: jest.fn(),
|
||||
setPageWithoutAnimation: jest.fn(),
|
||||
},
|
||||
},
|
||||
blur: jest.fn(),
|
||||
createView: jest.fn(),
|
||||
dispatchViewManagerCommand: jest.fn(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user