Adding jest tests to groups rn

This commit is contained in:
Nathan Spaun 2015-08-31 17:34:51 -07:00
Родитель f1c9c5c2af
Коммит 1ff22b7b9c
1 изменённых файлов: 13 добавлений и 0 удалений

Просмотреть файл

@ -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;