Open ksankumar opened 4 years ago
Have you tried adding some waiting, e.g. await new Promise(res => setTimeout(res, 200))
? Maybe you just need to wait a few ticks for the value to load. Otherwise, I wonder if it's the same issue as what I describe here https://github.com/vuejs/vue-apollo/issues/951#issuecomment-732150593
This is my gql Query
This is my vue component:
This is my unit test
Error: FAIL tests/unit/lists.spec.js App component ✕ renders a loading block when query is in progress (24ms)
● App component › renders a loading block when query is in progress