7 days of WordPress plugins, themes & templates - for free! Unlimited asset downloads! Start 7-Day Free Trial
FREELessons: 21Length: 2 hours

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