This commit is contained in:
David Baker 2017-05-23 15:16:31 +01:00
parent 46bb29a3af
commit d419c42a4f
73 changed files with 4660 additions and 639 deletions

View file

@ -3,6 +3,8 @@
import sinon from 'sinon';
import q from 'q';
import ReactTestUtils from 'react-addons-test-utils';
import * as counterpart from 'counterpart-riot';
var languageHandler = require("../src/languageHandler");
import peg from '../src/MatrixClientPeg.js';
import jssdk from 'matrix-js-sdk';
@ -65,6 +67,10 @@ export function beforeEach(context) {
console.log(desc);
console.log(new Array(1 + desc.length).join("="));
const languages = languageHandler.getNormalizedLanguageKeys('en');
languageHandler.setLanguage(languages, counterpart);
};