react-retro-hit-counter icon indicating copy to clipboard operation
react-retro-hit-counter copied to clipboard

Add component tests

Open joshwcomeau opened this issue 6 years ago • 0 comments

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.

joshwcomeau avatar Jan 28 '18 12:01 joshwcomeau