How to count EMOJI in a string or text line and display the output, how many emoji are in the text line or string?
For example:
You can try this lib https://github.com/mathiasbynens/emoji-regex It provides emojiRegex. So you can match emojis in your test like this:
const text = "Hello