Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
zoontek committed Sep 8, 2017
2 parents a09b76d + 01c728a commit 2d43c3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/src/__mocks__/react-native-i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
import I18nJs from 'i18n-js';

I18nJs.locale = 'en'; // a locale from your available translations
export const getLanguages = () => Promise.resolve('en');
export const getLanguages = () => Promise.resolve(['en']);
export default I18nJs;

0 comments on commit 2d43c3a

Please sign in to comment.