LeetCode-OpenSource/ayanami

Provide a way to test actions without "React"

runjuu opened this issue · 0 comments

Current we have to test action in a React way, for example:

testRenderer.root.findByProps({ id: action }).props.onClick()

which is no efficient. We need a better way to test.