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:
parent
b421fd05ef
commit
8a64123ab8
1 changed files with 3 additions and 0 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue