utmgdsc / PollVotingSystem

MCS Project with Prof. Zingaro and Prof. Ilir
https://poll.utm.utoronto.ca
MIT License
6 stars 10 forks source link

added tests for button #85

Open erensunerr opened 1 year ago

erensunerr commented 1 year ago

I wrote tests for the button component that tests all the props and functionality required.

shubhbapna commented 1 year ago

Oh wait i just noticed this, the base branch is incorrect please change it to dev/open-source one pls

hiimchrislim commented 1 year ago

LGTM, I prefer a singular test directory instead of per component but I haven't worked a lot with client testing. @hiimchrislim thoughts?

Yea, per component / file should be fine to have for client testing. I prefer it per component since it'll be a unit test