enzymejs / enzyme

JavaScript Testing utilities for React
https://enzymejs.github.io/enzyme/
MIT License
19.95k stars 2.01k forks source link

Improve shallow rendering example #430

Open bdo opened 8 years ago

bdo commented 8 years ago

It's still unclear for newbies what shallow rendering is. I think we could have a better example showing what it means, for instance, by testing a component that contains a child.

Happy to contribute to it later this week if that's ok 😄

aweary commented 8 years ago

@bdo we'd be happy to review/accept a PR for doc improvements!

timbru31 commented 8 years ago

@bdo happy to see an example with nested children - are you still working on this?