Rocket.Chat.ReactNative/__mocks__/react-native-i18n.js

7 lines
228 B
JavaScript
Raw Normal View History

// @flow
/* eslint-disable */
import I18nJs from 'i18n-js';
I18nJs.locale = 'en'; // a locale from your available translations
export const getLanguages = (): Promise<string[]> => Promise.resolve(['en']);
export default I18nJs;