JavaScript Testing - Mocking Async Code

preview_player
Показать описание
Testing async JavaScript code or testing JS dependencies in general can be difficult. But "mocking" is a technique that can easily be implemented with Jest to make JavaScript testing a breeze again.

----------

----------

• And you should of course also follow @academind_real.

See you in the videos!

----------

Рекомендации по теме
Комментарии
Автор

Testing is something you don't quite often find in most tutorials. Thanks for tackling this all important topic.

ultrasamad
Автор

Every time I see your technical videos, all my doubts, confusions vanishes ....amazing work😍😍

riyazghati
Автор

Hey Max! This is Ashutosh Tiwari ! Thanks for this ❤️ As always you are great !

inclinedscorpio
Автор

As always, you're the best tutor! Note: Max, when I open the link to the github to clone the code I got the previous video's code and not the one you teach here about mock. Not sure if it's only for me but please take a look so it will help others to easily code along.
Again, thanks a lot as usual for your wonderful tutorial.

sandeepamarnath
Автор

Honestly the best explanation I could find on mocking. Thank you :)

gabrielprrd
Автор

I would really love a full course on testing with jest, enzyme and react testing library

rodrigomarsan
Автор

Hey Max, you should add Unit Test into your Udemy Angular 2+ Courses to make it even more great. Love your works btw.

HuyLe-vvgo
Автор

You are such a gifted teacher. So focused. Thank you

unutilized
Автор

Hi, Max
Thank you for this video.
This is the best explanation of moking with jest, that I found!
I was not familiar with using moke functions, before watching this video, but now I can use this great thing for testing methods in my project)

andriantsygulev
Автор

Really excellent instruction! I bought your React course on Udemy. You are a very good teacher Thank You!

cvanputt
Автор

Best explanation of jest mocking so far. Thanks

ossie
Автор

Excellent video.
I've been using mocha/chia/nyc for years.
I think i'll try jest.

sbacon
Автор

Max, the starting code you linked in the description is actually the code from the PREVIOUS video. I cannot seem to find anywhere the starting code for this video. Can you please include it? Thanks for another great tutorial!

JeremyMoritz
Автор

Great video, though Concepts are more advanced than the previous video

khalidelgazzar
Автор

A very nice tutorial on javascript testing. Thank you.

twinstars
Автор

Max, you nailed the technical stuff, how about a video or even better a series on being a freelance developer?

ivanaleksandrov
Автор

best explanation about Mocking on the internet, thanks! 😀

dariogabalec
Автор

Hahaha, Max always pops up when searching for something I need <3

driden
Автор

Is this possible to do in angular with is configured to use jest? Is it possible to override a function manually like in the video?

dmitrik
Автор

thank you for the tutorial. Please make more videos in testing.

kisanpakhreen