mirror of
https://github.com/twitter/twemoji.git
synced 2024-11-02 11:30:12 +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) {
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user