How to write fewer tests but find more bugs in your React components
How in general should I know what to test?
Whenever we're deciding how to test a component, the main challenge is choosing which tests to write. That's because even a simple function like add(a: number, b: number) has a potentially infinite number o...