Avoid Nesting when you're Testing

1 · Kent C. Dodds · July 29, 2019, midnight
I want to show you something. What I'm going to show is a general testing principle, applied to a React component test. So even though the example is a React one, hopefully it helps communicate the concept properly. Note: my point isn't that nesting…...