Fix string in i18n test

This commit is contained in:
ayumi-signal 2024-09-04 12:38:27 -07:00 committed by GitHub
parent 970a033847
commit 6d16c80d25
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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');
}); });
}); });
}); });