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