Skip to content

Commit

Permalink
fix kchat emoji unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
antonbuks committed Aug 6, 2024
1 parent 16acd5a commit 36db2d0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ describe('EmojiUtils', () => {
});

test('return correct url for kchat emoji', () => {
expect(EmojiUtils.getEmojiImageUrl(TestHelper.getCustomEmojiMock({id: 'kchat', category: 'custom'}))).toBe('/static/emoji/kchat.png');
expect(EmojiUtils.getEmojiImageUrl(TestHelper.getSystemEmojiMock({unified: 'kchat'}))).toBe('/static/emoji/kchat.png');

expect(EmojiUtils.getEmojiImageUrl(TestHelper.getCustomEmojiMock({id: 'kchat'}))).toBe('/static/emoji/kchat.png');
expect(EmojiUtils.getEmojiImageUrl(TestHelper.getSystemEmojiMock({short_names: ['kchat']}))).toBe('/static/emoji/kchat.png');
});

test('return correct url for custom emojis', () => {
Expand Down

0 comments on commit 36db2d0

Please sign in to comment.