fossology / FOSSologyUI

Repository to hold the new UI framework for FOSSology built with React
https://fossology.github.io/FOSSologyUI/
GNU General Public License v2.0
49 stars 88 forks source link

test(api): add tests #164

Closed edgarsherman closed 3 years ago

edgarsherman commented 3 years ago

Description

Added unit tests to increase coverage

Changes

How to test

yarn test --coverage

This submission is in reference to an open Hacktoberfest issue #159, however there are a lot more tests that could be added. If I find more time, I'll look at adding more tests, but welcome others to add as well.

Aman-Codes commented 3 years ago

Hi @edgarsherman thanks for your contributions. Please add a license text (refer suggestion by me) in all the files you modified. Rest looks good to me.

Aman-Codes commented 3 years ago

Hi @edgarsherman Could you please replace YOUR_NAME (YOUR_EMAIL) with your actual name and email. And then squash your commits into one.

edgarsherman commented 3 years ago

Hi @edgarsherman Could you please replace YOUR_NAME (YOUR_EMAIL) with your actual name and email. And then squash your commits into one.

😞 Ahh, sorry for the extra work. I didn't notice that in the license suggestion. I've made the change you requested.

Shruti3004 commented 3 years ago

LGTM @edgarsherman