How to reset or clear the useQuery mocks of ApolloProvider before each single test?

后端 未结 0 1054
一整个雨季
一整个雨季 2021-01-21 20:21

I am having in one describe two test functions. They both use a component with apollo mocks as this component uses useQuery. But the response from mocks for each test should be

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