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 6862779..ffeda82 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -47,6 +47,7 @@ function sanitize(emoji) { return { id, name, + short_names, colons, emoticons, unified: unified.toLowerCase(),