Jest test, named export of redux component makes useEffect trigger 2 times instead of one

前端 未结 0 512
清酒与你
清酒与你 2020-12-16 12:16

I am trying to test component with jest and react-testing-library.

I decided to make named export of the component and separate it from Redux. The problem is that whe

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