Mantra
Understand the mantra of testing react with Enzyme.
We'll cover the following...
Mantra: Test one piece at a time
There are two schools of thought on unit testing. One is that the tests should be as realistic as possible. In this view, tests against one component should depend on the behavior not only of that one component, but also of its dependencies. The other school of thought, the one applied in this course, is that tests should describe ...