Example #1
0
 it('should not detect individual tone emoji', () => {
   expect(isSkinToneComboEmoji('🏻')).toBeFalsy();
 });
Example #2
0
 it('should detect rowboat_tone4', () => {
   expect(isSkinToneComboEmoji('🚣🏾')).toBeTruthy();
 });
Example #3
0
 it('should not detect rowboat', () => {
   expect(isSkinToneComboEmoji('🚣')).toBeFalsy();
 });
Example #4
0
 it('should not detect lifter', () => {
   expect(isSkinToneComboEmoji('🏋')).toBeFalsy();
 });
Example #5
0
 it('should detect lifter_tone1', () => {
   expect(isSkinToneComboEmoji('🏋🏻')).toBeTruthy();
 });
Example #6
0
 it('should not detect hand_splayed', () => {
   expect(isSkinToneComboEmoji('🖐')).toBeFalsy();
 });
Example #7
0
 it('should detect hand_splayed_tone5', () => {
   expect(isSkinToneComboEmoji('🖐🏿')).toBeTruthy();
 });
Example #8
0
 it('should gracefully handle empty string', () => {
   expect(isSkinToneComboEmoji('')).toBeFalsy();
 });