Files
mattermost-mobile/test/mocks.js
enahum ecf39f61dd Various fixes & improvements (#611)
* RN-166 follow user prefs for join/leave messages

* RN-158 Fix Android input textbox offscreen issue

* RN-181 Use device locale as default locale

* Upgrade mattermost-redux

* Fix TouchableHighlight in the channel drawer items

* Update channel title when switching channels

* Fix channel name title when switching teams

* Fix unit test
2017-06-08 15:40:29 -04:00

10 lines
250 B
JavaScript

import {addMock} from 'mocha-react-native';
addMock('react-native-device-info', {
getBuildNumber: () => true,
getVersion: () => true,
getDeviceLocale: () => 'en'
});
addMock('react-native-linear-gradient', {});
addMock('UIManager', {});