Unlimited WordPress themes, graphics, videos & courses! Unlimited asset downloads! From $16.50/m
Testingwmocha
  • 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