19,857 views
In this video, we will learn about the importance of unit tests in Node.js application development and how to use the Jest library to create and run these tests efficiently. We will learn how to install and configure Jest in our Node.js project, and explore its syntax to create effective unit tests. ???? Unit Testing Tool https://wallabyjs.com/?referrer=Kippe... ???? Learn React JS, React Native, Node JS and much more! https://www.rocketseat.com.br/one?utm... ???? USE THE COUPON: KIPPERDEV ???? Final project repository https://github.com/Fernanda-Kipper/em... ???? Initial template repository https://github.com/Fernanda-Kipper/em... ???? Follow me on instagram! / kipper.dev 01:18 Explaining the application 02:52 Configuring Jest 09:08 Creating the first test 17:25 Testing Success Call in the Controller 20:00 Understanding what Mocks are 32:13 Testing Error Call in the Controller