Closed sz-hankus closed 2 years ago
Current line coverage is not 100%. In order to fix this, we have to test the line 64 in search.js https://github.com/jsumners/alfred-emoji/blob/7658e90f79dc59dbdbf21dc6e9cf789b4991fba5/src/search.js#L59-L65
search.js
How it's done:
alfredItem
search.test.js
Current line coverage is not 100%. In order to fix this, we have to test the line 64 in
search.js
https://github.com/jsumners/alfred-emoji/blob/7658e90f79dc59dbdbf21dc6e9cf789b4991fba5/src/search.js#L59-L65How it's done:
search.js
addedalfredItem
to exportssearch.test.js
added a single test callingalfredItem
with undefined and a random character as arguments