Тёмный

Next.js unit tests with Jest and Testing Library typescript 

Tenacity Dev
Подписаться 2 тыс.
Просмотров 33 тыс.
50% 1

You'll learn how to setup jest and testing-library in your Next.js app that's using typescript
Next.js testing docs: nextjs.org/docs/testing
Example: github.com/vercel/next.js/tre...
#Nextjs #jest #tests #testingLibrary #React #TDD #testdrivendevelopment
#test #typescript

Наука

Опубликовано:

 

16 дек 2022

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 18   
@AMUZY
@AMUZY 9 месяцев назад
Bless, brother. Thank so much man. Just what I needed to get started with Testing
@tfist
@tfist Год назад
just starting with nextjs testing. this is exactly what i needed. thank you.
@tenacity_dev
@tenacity_dev Год назад
I'm glad you found it helpful!
@jedi_v
@jedi_v Год назад
Thank very much for preparing this 'crisp and concise' video .
@tenacity_dev
@tenacity_dev Год назад
Glad you found it useful!
@murilorerisondesousapaz5065
perfect! pretty easy and clear
@tenacity_dev
@tenacity_dev 11 месяцев назад
Glad it helped!
@austinwhitbeck3362
@austinwhitbeck3362 Год назад
This was a great video to get us started! Do you think you could do a video on how to test API routes? I'm still new to testing and unsure of what exactly you should test with an API route and once you decide what you should, how to go about it. This video is great regardless!
@tenacity_dev
@tenacity_dev Год назад
Thanks for the kind words. That's a good idea, I'll keep that in mind for the future videos! Thanks for the suggestion.
@languageswithenoch4417
@languageswithenoch4417 Год назад
thank you
@juanfranciscolencinasabdo555
Excellent video, just going to the main topic.
@tenacity_dev
@tenacity_dev Год назад
Thank you!
@kieled6530
@kieled6530 Год назад
you can just set up "baseUrl" in the tsconfig and import relatively with "pages/dashboard"
@tenacity_dev
@tenacity_dev Год назад
Yes, that's a great tip.
@dimodimov3500
@dimodimov3500 Год назад
why do you always show the very common scenario? Why isn't it like a normal component with properties for example? Apart from it - nice video.
@tenacity_dev
@tenacity_dev Год назад
I don't want to go out of the scope of the tutorial. I might make a more in depth example in the future.
@ilyassberchida
@ilyassberchida Год назад
get deeper a little bit please
@tenacity_dev
@tenacity_dev Год назад
I will keep that in mind for future tutorials where I'll do a more in depth example. Thank you!
Далее
Next.js with React Testing Library, Jest, TypeScript
25:04
Stop Writing So Many Tests
10:02
Просмотров 82 тыс.
Me: Don't cross there's cars coming
00:16
Просмотров 4,3 млн
Куда Анджилиша снова летит???
00:16
The ONLY REASON To Unit Test
8:26
Просмотров 72 тыс.
Why I'm Using Express Instead of NextJS
5:23
Просмотров 101 тыс.
React Testing for Beginners: Start Here!
1:17:14
Просмотров 72 тыс.
Улучшил свои Apple Watch!
0:25
Просмотров 45 тыс.
Best mobile of all time💥🗿 [Troll Face]
0:24
Просмотров 2,3 млн