mirror of
https://github.com/twitter/twemoji.git
synced 2025-08-03 06:36:40 +09:00
Don't use ES6 string templates in tests
This commit is contained in:
@ -1917,7 +1917,7 @@ wru.test([{
|
||||
allIosEmoji.forEach(function (emoji) {
|
||||
div.innerHTML = emoji;
|
||||
twemoji.parse(div);
|
||||
wru.assert(`${emoji} recognized as graphical`,
|
||||
wru.assert('' + emoji + 'recognized as graphical',
|
||||
div.firstChild.className === 'emoji' &&
|
||||
div.firstChild.getAttribute('draggable') === 'false' &&
|
||||
div.firstChild.getAttribute('alt') === emoji
|
||||
|
Reference in New Issue
Block a user