Update Jasmine to v3. Fixes #3182

This commit is contained in:
Joao Pedro De Almeida Pereira
2018-03-07 16:01:04 +00:00
committed by Dave Page
parent d3c303e455
commit e7316e2181
3 changed files with 6 additions and 5 deletions

View File

@@ -13,7 +13,8 @@ import translations from 'translations';
describe('translate', function () {
describe('when there is no translation', function () {
it('returns the original string', function () {
expect(gettext('something to be translated')).toEqual('something to be translated');
expect(gettext('something else to be translated')).toEqual('something' +
' else to be translated');
});
describe('when there are substitutions', function () {