React Hook Form V7 with Material UI and Typescript Tutorial | Part 5 -- Testing

preview_player
Показать описание
The final part of my react-hook-form with Material UI tutorial and Typescript. This part we will be covering testing with react-testing-library and jest.

Link to starter project to follow along:

React-Hook-Form Docs:

Timestamps
0:00 intro
1:00 eslint dependencies
2:00 TestService
2:30 TestingForm
6:20 mocking TestService
7:30 TestingForm tests
18:30 custom FormProvider render
20:00 IngredientsForm tests
Рекомендации по теме
Комментарии
Автор

Great series. I've learned a lot. Thank you.

dolusdirectu
Автор

Thank you so much for your videos, they helped me a lot!!

luisdavid
Автор

Thank you for that mock function tip btw

dolusdirectu
Автор

well done! wanted to add `.toBeVisible()` would probably be better than knowing its in the dom. general good practice especially say if the form is in a modal thats preloaded/hidden, it may be in the document but not visible to the user.

jesselewis
Автор

Can you make a tutorial on controlled form using react hook form. Please cover add, update form functionality

codingpotato
Автор

Muito bom!!! Demais!!! É muito complexo fazer com o Textfield Multiple ou Select Multiple, to tentando fazer pra selecionar um array...

jorgejuniorpereira
Автор

Great video! What is the extension that runs tests in the background and places the pass/fail result icon in the gutter?

adam.foster