Skip to content

Commit

Permalink
Add test for thinking_face/woman-facepalming
Browse files Browse the repository at this point in the history
  • Loading branch information
nolanlawson authored and EtienneLem committed Oct 6, 2017
1 parent 80b5522 commit 9b6ddf0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/utils/emoji-indexSpec.js
Expand Up @@ -24,5 +24,13 @@ describe('#emojiIndex', () => {
expect(emojiIndex.search('flag', { include: ['people'] }))
.toEqual([])
})

it('can search for thinking_face', () => {
expect(emojiIndex.search('thinking_fac').map(x => x.id)).toEqual(['thinking_face'])
})

it('can search for woman-facepalming', () => {
expect(emojiIndex.search('woman-facep').map(x => x.id)).toEqual(['woman-facepalming');
})
});
});

0 comments on commit 9b6ddf0

Please sign in to comment.