|
|
@@ -73,5 +73,10 @@ describe('emoji', () => { |
|
|
|
expect(emojify('<span class="invisible">😄<br/>😴</span>😇')) |
|
|
|
.toEqual('<span class="invisible">😄<br/>😴</span><img draggable="false" class="emojione" alt="😇" title=":innocent:" src="/emoji/1f607.svg" />'); |
|
|
|
}); |
|
|
|
|
|
|
|
it('skips the textual presentation VS15 character', () => { |
|
|
|
expect(emojify('✴︎')) // This is U+2734 EIGHT POINTED BLACK STAR then U+FE0E VARIATION SELECTOR-15 |
|
|
|
.toEqual('<img draggable="false" class="emojione" alt="✴" title=":eight_pointed_black_star:" src="/emoji/2734.svg" />'); |
|
|
|
}); |
|
|
|
}); |
|
|
|
}); |