Using random variables in mocked apollo react testing generates “Error: No more mocked responses for the query” error

前端 未结 0 533
-上瘾入骨i
-上瘾入骨i 2021-01-01 01:15

In a React and GraphQL project, I have a mutation which looks like this:

const variables: {
    id: faker.random.uuid(),
    //other info
}

client.mutate({
          


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