diff --git a/package.json b/package.json index 20d59e3..0a686e4 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "snazzy": "^9.0.0", "standard": "^17.0.0", "tap": "^16.2.0", - "unicode-emoji-json": "^0.3.1", + "unicode-emoji-json": "^0.5.0", "webpack": "^5.72.1", "webpack-cli": "^4.9.2" } diff --git a/test/search.test.js b/test/search.test.js index d6ec037..cc4d324 100644 --- a/test/search.test.js +++ b/test/search.test.js @@ -198,5 +198,6 @@ test('enables ctrl-modifier', (t) => { test('pads codepoint with zeroes if needed', (t) => { t.plan(1) const found = search('5') - t.ok(found.items[0].mods.ctrl.arg === 'U+0035') + const unicodes = found.items.map((item) => item.mods.ctrl.arg) + t.ok(unicodes.includes('U+0035')) })