JavaScript Testing Fundamentals

What are spies?

In this lesson, we're going to learn what spies are when it comes to testing in JavaScript. Spies are very handy and often has a lighter footprint than mocks.