React + Jest .. select a component which is inside a prop of another component

前端 未结 0 1745
隐瞒了意图╮
隐瞒了意图╮ 2021-02-08 16:50

I am facing a problem which is better to describe it by a similar example:

const ParentComponent = () => {

const doSomething =() => {
// code here
}
return         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题