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.

comments powered by Disqus