Theme

Effective React Testing

Tips #1: Test Code at “Right” Level of Isolation

Tips #2: Keep Your Test Moderately Dry

Tips #3: Use jest-dom to Make More Declarative Assertions

Tips #4: Use user-event to Simulate User Behavior