#5 Mock Functions & Why - React Testing For Beginners

preview_player
Показать описание
In this series we demystify React testing for beginners. We show you how to test React components using Jest & React Testing Library. No prior testing experience necessary.

### Video Links

### Affiliate Links

Please use these links when signing up for services to help support Level Up.

### Level Up Links

Subscribe to the Level Up Newsletter

Developer Ready

Complete and ready to set-up JavaScript testing solution. Works out of the box for any React project.

Instant Feedback

Fast interactive watch mode runs only test files related to changed files and is optimized to give signal quickly.

Snapshot Testing

Capture snapshots of React trees or other serializable values to simplify testing and to analyze how state changes over time.

Zero configuration testing platform
Jest is used by Facebook to test all JavaScript code including React applications. One of Jest's philosophies is to provide an integrated "zero-configuration" experience. We observed that when engineers are provided with ready-to-use tools, they end up writing more tests, which in turn results in more stable and healthy code bases.
Рекомендации по теме
Комментарии
Автор

I really appreciate the audio quality. It sounds amazing on all devices. Thank you for making it easier to learn!

hankim
Автор

Amazing explanation! But where's the rest of the series?

Pawlsolidus
Автор

video/sound quality font size everythin was perfect

rajaspaunikar
Автор

May I know what's the live test panel on the right called? Is that a plugin?

caesarlau
Автор

Hey man, Why not use toEqual instead of toBe?

huynhut
Автор

The return of the mock function is undefined

NoobGaming-hjjk
Автор

Very details and easy to understand for even entry level like me ;) Keep it up

jakedao
Автор

Heyo! Thanks for the content.. Will you post video no. 6 any soon?

elvinaliyev
Автор

Thank u for this awesome video and series

AbhishekKumar-mqtt
Автор

Thanx a lot. Plz, give us a mini-series on React Styled Components ... Thanx in advance!

damoose
Автор

I'm getting an error could not find module @react-mf/root-config from src/helpers/api_helper.js

badbhush
Автор

Wonderful, thanks for the explanations

MrJasoya
Автор

does it cover the statement for the js file?

ketantanneeru
Автор

Very nice work thanks for helping out for testing

preetamramdhave
Автор

Is this for russian speakers or eng? but anyway thanks a lot cuz it's better than any russ explanation

vladvladov
Автор

Hey man, where are new episodes with Jest?

rotatingstone
Автор

You mentioned in the podcast that this course is comprehensive, I see now that you weren't, ahem, jesting! 😀

mza
Автор

Hi Scott! I am from INDIA. I would appreciate it if your courses would be cheaper in this part of the world.

zeeshannagori