Fix string in i18n test
This commit is contained in:
parent
970a033847
commit
6d16c80d25
1 changed files with 3 additions and 6 deletions
|
@ -54,13 +54,10 @@ describe('setupI18n', () => {
|
||||||
const intl = i18n.getIntl();
|
const intl = i18n.getIntl();
|
||||||
assert.isObject(intl);
|
assert.isObject(intl);
|
||||||
const result = intl.formatMessage(
|
const result = intl.formatMessage(
|
||||||
{ id: 'icu:emptyInboxMessage' },
|
{ id: 'icu:contactAvatarAlt' },
|
||||||
{ composeIcon: 'ICONIC' }
|
{ name: 'NAME' }
|
||||||
);
|
|
||||||
assert.equal(
|
|
||||||
result,
|
|
||||||
'Click the ICONIC above and search for your contacts or groups to message.'
|
|
||||||
);
|
);
|
||||||
|
assert.equal(result, 'Avatar for contact NAME');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue