How to test react component that fetches reducer dispatch function from context?

后端 未结 0 1607
梦毁少年i
梦毁少年i 2020-12-14 23:05

I am using the react context API and currently I have two contexts: StateContext and DispatchContext. I\'m stuck trying to figure out a way to test the compon

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