CH76 / E560|Testing the Clock|Wed, 18 Oct ’17
Passing Time
We wrap up our Clock abstraction by adding support for setInterval in both real and fake forms. The biggest challenge is writing the tests. (No surprise there.) It’s pretty straightforward, so we get it done and finish off the chapter.