C
C
cester2017-12-05 17:39:16
JavaScript
cester, 2017-12-05 17:39:16

Jest + Enzyme how to start?

Good afternoon! Can you please tell me how to start working with tests in react?
There is a task to write tests in the project using Jest + Enzyme.
Can you please explain what each of them does?
Do I understand correctly that in order to test a component, it is necessary to pass to the input of the component the props that the component receives as a result of Jest should produce something?
Do we need to test actions, reducers, stores?
I would be grateful for any advice on this topic, I need to quickly deal with this!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
string15, 2018-03-10
@string15

Testing a React-Redux Application
Testing in React
Testing React Components with Jest and Enzyme

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question