Unit testing in JavaScript Part 4 — Mocking basics
Today, we are continuing our journey on unit testing in JavaScript. In this episode we look at doing some basic mocking of fetch.

Full video below:

💖 Support the show by becoming a Patreon

https://www.patreon.com/funfunfunction

🔗 Watch this series from the start

https://www.youtube.com/watch?v=Eu35xM76kKY&index=1&list=PL0zVEGEvSaeF_zoW9o66wa_UCNE3a7BEr

🔗 Code snippets from the episode

https://gist.github.com/mpj/2906d711a5d9fac5443ffa25e7e77e35

🔗 Discuss this video on the Fun Fun Forum

https://www.funfunforum.com/t/unit-testing-in-javascript-part-4-mocking-basics/3387

🔗 Promises video

https://www.youtube.com/watch?v=2d7s3spWAzo&list=PL0zVEGEvSaeEd9hlmCXrk5yUyqUag-n84&index=8

🔗 Dependency Injection basics video

https://www.youtube.com/watch?v=0X1Ns2NRfks

🔗 That cool inline evaluation plugin

https://quokkajs.com/

🔗 mpj on Twitter

https://twitter.com/mpjme

🔗 The gear I use to produce the videos

https://youtu.be/gTk8nPj11Yk

🔗 Help translate the show to your language

http://www.youtube.com/timedtext_cs_panel?tab=2&c=UCO1cgjhGzsSYb1rsB4bFe4Q
['Mattias Petter Johansson']
['JavaScript', 'Programming', 'Web Development', 'Coding', 'Software Development']