State not updating between two useEffect in React in jest test

前端 未结 0 1997
囚心锁ツ
囚心锁ツ 2021-02-19 07:19

I am using two useEffect for two different redux variables. All is working fine when I run the application in browser but it is not passing jest test because the state is not up

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