Express JS #20 - Unit Testing with Jest

preview_player
Показать описание


Support the Channel:

Connect with me:

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

Great tutorial. I would have loved the entire course be converted to typescript and tested.

uzomanwanne
Автор

you are the best. Thank you for sharing this to us

nanazap
Автор

You can use Vitest instead of Jest for testing. It supports module type javascript and doesn't need any additional configuration plus the methods are the same as the Jest.

tharusha_haththella
Автор

very useful video and clear explanation!!! Thank you so much

annangan
Автор

This is a brilliant video. How many videos are there overall in this series?

semperfiArs
Автор

Thanks a lot, really great session.
I have one question though. At many places in above video, we created mocks for validationResult, matchedData and hashPassword etc.
Cant we simply spy them and get the work done instead if creating mock objects? With spy we can simply override the specific behaviour we need in a test.
Please share your thoughts on this?

sourabh
Автор

Plz videos on scaling out Node JS as well as on NGINX .

anassaif
Автор

hi anson can you make project based tutorial using microservice architecture nestjs, docker, graphql, prisma, nextjs so on please

HenokGebresenbet
Автор

PLEASE WHAT IS THE THEME YOU USED FOR THIS VIDEO?

davidi.lawrence
Автор

Should you not unit test your routes against a real database? How would that be done?

Anteater