DEV Community

Discussion on: Testing a simple component with React Testing Library

Collapse
haaxor1689 profile image
Maroš Beťko

This solution seems much better. Cluttering your components with testing attributes looks like bad practice.