This commit is contained in:
parent
46bb29a3af
commit
d419c42a4f
73 changed files with 4660 additions and 639 deletions
|
@ -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);
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue