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

991 views · Published 14 October 2015 · 6:50 · Indexed 20 October 2026

Channel: Packt · 2015 · Science & Technology

Watch on YouTube

Part of 'Mastering ReactJS' video series. For full Course 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