joshwcomeau/react-retro-hit-counter

Add component tests

Aperta

#3 aperta il 28 gen 2018

 (0 commenti) (0 reazioni) (0 assegnatari)JavaScript (5 fork)github user discovery
enhancementgood first issuehelp wanted

Metriche repository

Star
 (165 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Right now, the only tests in this project are for a small helper function that pads strings.

I can think of a few other things that would benefit from testing:

  • Snapshot tests on RetroHitCounter and RetroBorder
  • Segment testing, to ensure that a given number is accurately represented.
  • Tests that updates the values, including interruptions.

Guida contributor