Add sensible missing entry generator for MELS tests

Fixes vector-im/riot-web#5426 (because we don't test plurals anywhere else)
pull/21833/head
Luke Barnard 2017-10-27 16:55:04 +01:00
parent b421fd05ef
commit 8a64123ab8
1 changed files with 3 additions and 0 deletions

View File

@ -88,6 +88,9 @@ describe('MemberEventListSummary', function() {
sandbox = testUtils.stubClient();
languageHandler.setLanguage('en').done(done);
languageHandler.setMissingEntryGenerator(function(key) {
return key.split('|', 2)[1];
});
});
afterEach(function() {