good first bughelp wanted
Métriques du dépôt
- Stars
- (1 042 stars)
- Métriques de merge PR
- (Métriques PR en attente)
Description
It's probably hard to test the actual core feature of react-perimeter , but there are a few things we can definitely test:
- correctly exports the React component
- renders children
- attaches
refcorrectly with render callbacks - registers event listeners on mount
- removes event listeners on unmount
- removes event listeners after
onBreachis called ifonceistrue - more stuff
I'd like to use jest and enzyme for this.