Next lesson playing in 5 seconds

Cancel
  • Overview
  • Transcript

5.2 Sinon Spies

Spies are the simplest tool that Sinon offers, and in this lesson we’ll look at how they give us a lot more control over the specifics of what we can test, including whether a method was ever run, how many times, etc.

Related Links