diff --git a/src/utils/emoji-index/__tests__/emoji-index.test.js b/src/utils/emoji-index/__tests__/emoji-index.test.js index 24ac794..a3e191e 100644 --- a/src/utils/emoji-index/__tests__/emoji-index.test.js +++ b/src/utils/emoji-index/__tests__/emoji-index.test.js @@ -5,6 +5,7 @@ test('should work', () => { { id: 'pineapple', name: 'Pineapple', + short_names: ['pineapple'], colons: ':pineapple:', emoticons: [], unified: '1f34d', diff --git a/src/utils/index.js b/src/utils/index.js index 895b98e..2243796 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -46,6 +46,7 @@ function sanitize(emoji) { return { id, name, + short_names, colons, emoticons, unified: unified.toLowerCase(),