Fix test - getLanguages is a Promise<Array<string>>

This commit is contained in:
Mathieu Acthernoene 2017-08-30 00:28:05 +02:00 committed by GitHub
parent 5b1a37aefc
commit 01c728ab90
1 changed files with 1 additions and 1 deletions

View File

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