joshwcomeau/react-retro-hit-counter

Add component tests

オープン

#3 opened on 2018/01/28

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (5 件のフォーク)github user discovery
enhancementgood first issuehelp wanted

Repository metrics

Stars
 (165 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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.

コントリビューターガイド