"C# Streams and Data Processing" was retired on July 14, 2025.
Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed JavaScript Unit Testing!
You have completed JavaScript Unit Testing!
In this video, we’ll meet a powerful testing framework called Mocha.js. We can use an assertion library called Chai that makes our tests nice to read and easy to understand.
Video review
- To have Mocha and Chai in your project, type
npm install --save-dev mocha chai - The
--save-devflag means that these tools are just for development
Resources
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up