Jest mockRejectedValue causes test to fail

后端 未结 0 571
感动是毒
感动是毒 2020-12-20 16:46

I have this tests, where I want to wait until a promise (in this case ClickHandler) has been called an rejected. Then I want to verify the state. The test however fails beca

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