Mocking DynamicGraphQLClient for tests #2109
Unanswered
acorobceanu
asked this question in
Q&A
Replies: 1 comment 1 reply
-
For now I found a workaround with mocking our GraphQL interfaces without injecting mock. Something like this:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
New smallrye-graphql client user here. I am trying to write unit tests for the dynamic client. When tried to inject mock into my test, I got following error:
Runtime Error:
Any examples out there on how to do it?
Beta Was this translation helpful? Give feedback.
All reactions