Closed Dayjo closed 7 years ago
Any assistance on the code coverage would be appreciated, not 100% sure what I need to do to fix it.
@Dayjo Cool! I think we should move this whole thing to a new function in utilites.js
and that will return the comparisonItem
array. getResults
will call that function at line 116 or assign it to a variable comparisonItem
to be used at line 116. Then add some tests for that new function in utilities.spec.js
, that should get the code coverage back up. Let me know if you need help
Thanks for this is, great feedback thank you 👍 I shall endeavour to do all of the above.
@pat310 inline comments have disappeared cause I pushed my latest changes (failing).
As you can see, the syntax checker is failing on the {...obj
part unfortunately so I can't build/test.
@pat310 I added "transform-es2015-destructuring", "transform-object-rest-spread"
to the babel plugins to fix the syntax checking for object spread.
Also added two tests for the formatKeywords
function one to check for normal single keyword and one for checking an array of keywords. Do you have any suggestions for what else I can test on this?
Eh, not sure why the coverage has dropped, pretty sure my new function is covered.
Looks good @Dayjo. Just a few last comments and I think it's good to go
Do you want to update the README
as well?
@Dayjo Are you nightcrawler in your profile picture?
Tests seem to pass but I do get an error here;
Coverage is still down too :/
@turnerniles Haha, no, I just blue myself.
This pull request implements the ability to use an array of keywords as well as just a single string.
This doesn't update any documentation, I want to make sure that the code is acceptable first!
Any suggestions / improvements I can make please let me know @pat310
Fixes #53