Sinon.js Tutorial - How to Write Unit Tests Using Sinon.js
Channel:
Subscribers:
58,000
Published on ● Video Link: https://www.youtube.com/watch?v=Qlmv7nox5pM
Learn more advanced front-end and full-stack development at: https://www.fullstackacademy.com
In this Sinon.js Tutorial, we give an overview of the Sinon.js library and how it can be a great tool for creating unit tests. We show code examples of test doubles such as spies, stubs, and mocks, and give advice on when to use each type of test double.
Watch this video to learn:
- What is Sinon.js
- What are spies, stubs, and mocks and why use them
- Best practices with Sinon.js
Other Videos By Fullstack Academy
Tags:
Sinon.js
Sinon.js Tutorial
How to Write Unit Tests
test doubles