Adding jest tests to groups rn
This commit is contained in:
Родитель
f1c9c5c2af
Коммит
1ff22b7b9c
|
@ -30,6 +30,12 @@ var NativeModules = {
|
|||
customBubblingEventTypes: {},
|
||||
customDirectEventTypes: {},
|
||||
Dimensions: {},
|
||||
RCTModalFullscreenView: {
|
||||
Constants: {},
|
||||
},
|
||||
RCTScrollView: {
|
||||
Constants: {},
|
||||
},
|
||||
},
|
||||
AsyncLocalStorage: {
|
||||
getItem: jest.genMockFunction(),
|
||||
|
@ -44,6 +50,13 @@ var NativeModules = {
|
|||
appVersion: '0',
|
||||
buildVersion: '0',
|
||||
},
|
||||
ModalFullscreenViewManager: {},
|
||||
AlertManager: {
|
||||
alertWithArgs: jest.genMockFunction(),
|
||||
},
|
||||
Pasteboard: {
|
||||
setPasteboardString: jest.genMockFunction(),
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = NativeModules;
|
||||
|
|
Загрузка…
Ссылка в новой задаче