1
0
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:
Nathan Downs 2018-06-04 17:42:09 -07:00
parent 0c5cd1a1c5
commit 4ce90d0c57

View File

@ -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