DEV Community

Discussion on: Testing React Hook State Changes

Collapse
 
dotorimook profile image
dotorimook

How about testing for a component with multiple useStates?
Could you tell me how to detect each setState to be called?