dwyl/learn-elm-architecture-in-javascript

TDD Reset the Counter

nelsonic opened this issue · 4 comments

Adding the Reset action is good opportunity to write a test first!
As a user (counting things)
I want to reset the counter
So that I can start counting again from zero.

  • Clicking the reset button in the UI resets the count to 0 (zero).

Failing test:
reset-counter-failing-test

Passing test:
image