Add sensible missing entry generator for MELS tests

Fixes vector-im/riot-web#5426 (because we don't test plurals anywhere else)
This commit is contained in:
Luke Barnard 2017-10-27 16:55:04 +01:00
parent b421fd05ef
commit 8a64123ab8

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() {