Skip to content
Snippets Groups Projects
Commit 0f218bee authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Fix tests broken by 4be86c89

parent fcd7ab26
No related branches found
No related tags found
No related merge requests found
Pipeline #50848 passed
......@@ -15,11 +15,11 @@ suite('i18next', () => {
assert.equal( inst.t('nope'), 'nope');
assert.equal( inst.t('extra'), 'quux');
inst.changeLanguage('en');
assert.deepEqual(inst.languages, ['en']);
assert.deepEqual(inst.languages, ['en', 'de']);
assert.equal( inst.t('foo'), 'baz');
assert.equal( inst.t('nope'), 'nope');
inst.changeLanguage('nope');
assert.deepEqual(inst.languages, ['nope', 'en']);
assert.deepEqual(inst.languages, ['nope', 'en', 'de']);
assert.equal( inst.t('foo'), 'baz');
assert.equal( inst.t('nope'), 'nope');
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment