Mastering ReactJS: Writing Unit Tests for React Components | packtpub.com

2,067 views · Published 26 February 2016 · 6:50 · Indexed 19 October 2026

Channel: Packt · 2016 · Science & Technology

Watch on YouTube

This playlist/video has been uploaded for Marketing purposes and contains only introductory videos.

For the entire video course and code, visit [http://bit.ly/1VAlWM4].

We will write a unit test for the individual order row component with mocha and TestUtils. 
• Install mocha and expect.js 
• Use shallow rendering for DOMless tests 
• Write our first unit test for the OrderRow component 


For the latest web development video tutorials, please visit
http://bit.ly/1KYwKQ5


Find us on Facebook -- http://www.facebook.com/Packtvideo
Follow us on Twitter - http://www.twitter.com/packtvideo

More from this channel