Replies: 1 comment
-
OK, my silly fault, I was calling |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using bUnit to test a Blazor component, but am getting stuck with trying to mock the following injected dependency in the component...
My basic code for creating an instance of the component under test is...
I have tried adding the following line before the above...
...but that gives an exception when the test is run...
I installed the bUnit test package, and did something similar to the code on the GitHub page...
However this gave an exception...
I tried this way as well...
...but got the same exception.
What am I doing wrong? Thanks
Beta Was this translation helpful? Give feedback.
All reactions