Mock apollo useQuery after mocking mutation

后端 未结 0 1665
执笔经年
执笔经年 2021-01-04 16:43

I have following logic in a React app using Apollo Client.

1 - I fetch contacts

const { data } = useQuery(FETCH, { variables })

2 - I

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