Fix more tests

This commit is contained in:
Michael Telatynski 2019-12-17 11:47:01 +00:00
parent ab3fb6581b
commit e6d8487302
11 changed files with 42 additions and 884 deletions

View file

@ -9,9 +9,7 @@ describe('languageHandler', function() {
testUtils.stubClient();
languageHandler.setLanguage('en').then(done);
languageHandler.setMissingEntryGenerator(function(key) {
return key.split('|', 2)[1];
});
languageHandler.setMissingEntryGenerator(key => key.split("|", 2)[1]);
});
it('translates a string to german', function() {