Jest tutorial with Node | testing Node.js applications
דרג סרטון זה
התחבר כדי לדרג
תיאור
🔥More exclusive content: https://productioncoder.com/you-decide-what-we-build-next Twitter: https://twitter.com/_jgoebel Website: https://jangoebel.com Blog: https://productioncoder.com Code: https://github.com/productioncoder/node-jest-unittest 00:00 how to use Jest to test Node.js applications 00:25 example project walkthrough 02:46 setting up Jest in Node 05:05 writing unit tests with Jest in Node.js 08:03 making asserting in Jest 09:42 running tests with Jest 10:37 conclusion In this video we talk about how to use Jest to test Node.js application. We cover how to set up and install Jest and we also take a look at how to write and run them. We start with simple and basic unit tests on the service layer to demonstrate how you can test your Node.js application successfully with Jest.