React Unit Testing Tutorial with React Test Library and Vitest React

React Unit Testing Tutorial with React Test Library and Vitest React

HomeMonsterlessons AcademyReact Unit Testing Tutorial with React Test Library and Vitest React
Tutorial on unit testing React with React testing library and Vitest React
ChannelPublish DateThumbnail & View CountDownload Video
Channel AvatarPublish Date not found Thumbnail
0 Views
In this React testing tutorial, you will learn how to test React properly. Since React doesn't provide us with any testing tools, we will use the React testing library and Vitest to get a simple testing setup.

TIME STAMP
0:00 Introduction
1:39 Original project
2:24 Vitest reaction
3:48 Basic component testing
9:26 Testing React Props
12:40 Testing React callbacks
14:56 React Mock Dependencies
17:06 Testing simple functions

CHECK MY COURSES – https://monsterlessons-academy.com/courses

MOST POPULAR COURSES
Building a real project with Angular NgRx – https://monsterlessons-academy.com/courses/angular-and-ngrx-building-real-project-from-scratch
Building a real NestJS API – https://monsterlessons-academy.com/courses/nestjs-building-an-api-for-real-project-from-scratch
Javascript Interview Questions – https://monsterlessons-academy.com/courses/javascript-interview-questions-coding-interview
Angular Interview Questions https://monsterlessons-academy.com/courses/angular-interview-questions-coding-interview-2023
Building a real fullstack project – https://monsterlessons-academy.com/courses/build-fullstack-trello-clone-websocket-socket-io
Mastering Git – https://monsterlessons-academy.com/courses/git-training-step-by-step-guide
Mastering Docker and Docker Compose – https://monsterlessons-academy.com/courses/docker-and-docker-compose-project-deployment-from-scratch
Building a real project with React Hooks – https://monsterlessons-academy.com/courses/react-hooks-building-real-project-from-scratch
Building a real project with Vue Vuex – https://monsterlessons-academy.com/courses/vue-and-vuex-building-real-project-from-scratch

FOLLOW ME
TWITTER – https://twitter.com/monster_lessons
INSTAGRAM – https://www.instagram.com/monsterlessonsacademy
TIKTOK – https://www.tiktok.com/@monsterlessonsacademy

REFERENCES
Source code – https://github.com/monsterlessonsacademy/monsterlessonsacademy/tree/397-react-testing

Please take the opportunity to connect with your friends and family and share this video with them if you find it useful.