joshwcomeau/react-retro-hit-counter

Add component tests

开放

#3 创建于 2018年1月28日

 (0 条评论) (0 个反应) (0 位负责人)JavaScript (5 个派生)github user discovery
enhancementgood first issuehelp wanted

仓库指标

星标
 (165 个星标)
PR 合并指标
 (30 天内没有已合并 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.

贡献者指南