how properly mock multiple useSelector hooks

前端 未结 0 1154
栀梦
栀梦 2021-01-29 04:55

my component has multiple selectors:

import { useSelector } from \'react-redux\'
...
const data1 = useSelector(xxxxx)
const data2 = useSelector(yyyyy)


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