Fix more tests
This commit is contained in:
parent
ab3fb6581b
commit
e6d8487302
11 changed files with 42 additions and 884 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue