(Tried making a PR, but didn't have rights to push the branch)
The issue is that the victory-hand emoji default skin tone when used directly (βοΈ) does not match with the result from applying the none
skin tone to the victory-hand of another skin tone.
Two ways of testing this:
t.is(skinTone('βπ»', 'none'), 'βοΈ');
(outside of code block render):
t.is(skinTone('βπ»', 'none'), 'βοΈ');
"type": "module"
:import skinTone from 'skin-tone'
function compareEmoji (emojiOne, emojiTwo) {
return emojiOne === emojiTwo
}
console.log('victory-hand match:', compareEmoji('βοΈ', skinTone('βπΌ', 'none')))
console.log('ok-hand match:', compareEmoji('π', skinTone('ππΌ', 'none')))
The result of step 2 is:
node victory-skin-tone.js
victory-hand match: false
ok-hand match: true
The victory-hand default skin tone when pasted should be matched successfully against the 'none' applied skin tone.
The ok-hand successfully matches using the same manner, where the victory-hand fails.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too