good first bughelp wanted
仓库指标
- Star
- (1,042 star)
- PR 合并指标
- (PR 指标待抓取)
描述
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.