Jest Crash Course - Learn How to Test your JavaScript Application

preview_player
Показать описание
In this crash course, we will cover Jest which is a terrific JavaScript testing framework

Second Channel:

GitHub Repo:

Timeline:
0:00 - Matcher Methods
28:30 -Testing Async Functions
37:29 - Setting Up & Tearing Down Tests
50:24 - Mocks
Рекомендации по теме
Комментарии
Автор

I swear i've been searching for jest crash courses for 30mins now ! and then i get the notification ...
What a day !

ZTF
Автор

I just subscribed, because I never knew there was such a great teacher like you teaching JEST on YouTube.

paschalynukwuani
Автор

love your channel, I've recently found you but your channel has everything I was looking for with great quality, thanks a lot

yaldakarimi
Автор

You didn't once fail to teach me any concept. Perfect teaching skills you have! Great explanation once again.

anarbairam
Автор

Thanks for the quick and short crash course for Jest beginners!

OussamaFahchouch-un
Автор

Terrific, the best tutorial I found on youtube about mocks.

eliasvasques
Автор

It couldn't be clearer, thank you!

RacheleMargutti
Автор

If anyone wants to clarify that why 3 === 3 is true and {} === {} is false, it is because in case of 3 === 3 is compared by value whereas objects are compared by hashcode(a location of the memory where the object exists). When you are comparing {} === {} then these are two different object at two different memory location which result in two different hashcode for comparison and thus return false. I hope I have done a good job in clarifying it 😅

sagniksaha
Автор

Great course, thanks for including mocks and not just the simple pure function stuff.

dawid_dahl
Автор

Laith, you do deserve a 1M Subs for sure!
Thanks for the content.

maximus
Автор

Best Explanation Ever for Jest, Just Incredible

mnmsagar
Автор

Exactly the crash course I wanted!! Thanks Laith.

soumyajitdey
Автор

Спасибо за новое видео. Уже давно слежу за вашим каналом, нашла много полезного для себя.

shivakugan
Автор

Very cool, thanks! I am starting to learn jest. Your course has been very helpful!

VictorKorovin-sq
Автор

I have to say, you have the best quality tutorials out there!

stressed-ashen-cat
Автор

For anyone who struggled to understand how the mock.calls worked, as I did, too, initially - here is what [x] [y] mean: x represents the index of the call made (i.e. 0 = first call, 1 = second call, 2 = third call etc) and y represents the index of the first argument we find on that call (i.e. always 0 as we only have one argument).

So, taking our example in the tutorial - [1] represents the second call and [0] first argument, which in this case is 1. Hope this helps to clarify and keep up the good work studying!

Thanks Laith Academy! <3

vurrnurr
Автор

wow you create the video in one shot, that is amazing

jahelsantiago
Автор

Thanks for providing Jest & React testing Library courses 🙏

hiteshsuthar
Автор

Came here from Net Ninja!

New Subscriber!

IslamicHarmonyChannel
Автор

Thank you so much. since long I was not able to get understanding of mocking which you explained practically in good way.. thanks and keep on.

g-ytub