SCE-Development / Clark

Made entirely by SJSU students, this is the Software and Computer Engineering Society's outward face on the internet.
https://sce.sjsu.edu
MIT License
28 stars 11 forks source link

Add tests to ConfirmationModal.js #1440

Closed evanugarte closed 4 days ago

evanugarte commented 2 weeks ago

lets add frontend unit tests to this modal

https://github.com/SCE-Development/Clark/blob/de32dd125c212c699c1ab73387c6a609414237dc/src/Components/DecisionModal/ConfirmationModal.js#L3

where:

  1. passing in a headerText prop has the text appear in the h3 component
  2. passing in a bodyText prop has the text appear in the h3 component
  3. confirm and cancel text values default to Confirm and Cancel respectively if no prop is passed in
evanugarte commented 4 days ago

closed by #1448