Skip to content

Commit

Permalink
Include emoji version in the comparison test output
Browse files Browse the repository at this point in the history
Makes it easier to find new emojis when updating.
Requires switching from compact to full emojibase data.
  • Loading branch information
KwanEsq committed Jun 1, 2019
1 parent ea35dcd commit 2ba4a1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/reporter.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

var EmojiInfoService = {
URL: '../node_modules/emojibase-data/en/compact.json',
URL: '../node_modules/emojibase-data/en/data.json',
map: null,

_initPromise: null,
Expand Down Expand Up @@ -281,7 +281,7 @@ TestReport.prototype = {
return;
}
infoEl.textContent =
info.annotation + '. tags: ' + info.tags.join(', ') + '.';
info.annotation + '. tags: ' + info.tags.join(', ') + '. version: ' + info.version;
})
.catch(function(e) { console.error(e); });
reportEl.appendChild(infoEl);
Expand Down

0 comments on commit 2ba4a1e

Please sign in to comment.