You need to sign in or sign up before continuing.
Follow-up from "Add tests for app/assets/javascripts/work_items/graphql/resolvers.js"
The following discussion from !160862 (merged) should be addressed:
-
@deepika.guliani started a discussion: (+1 comment) discussion topic So , I am a bit torn on this. Ideally , we should be checking the query result of the resolver.
But , it would also be enough to just check if the resolver is called with the query params https://docs.gitlab.com/ee/development/testing_guide/frontend_testing.html#testing-local-only-apollo-queries-and-mutations
🤔