Repository navigation
Test hangs when using mock.using (Automock) #265
Replies: 3 comments 3 replies
|
Hello, @rienheuver It's an interesting strategy that you're attempting to replace the mock with the actual MikroORM instance. Although this isn't quite what Automock intended for 😅, I suppose it has to do with the connection. Could you give some more context? Or perhaps a repository that helps to reproduce of the behavior? |
I understand. If you are experiencing this problem, I assume others are as well. Let's attempt to manage that scenario; could you kindly provide the code that uses |
Uh oh!
There was an error while loading. Please reload this page.
I have the following test that will not properly execute. It doesn't fail and it doesn't succeed, it just hangs forever. If I don't mock MikroORM it will continue (and crash because of the lacking mock), but MikroORM appears to be initialized just fine. Any clue on what's going on?
All reactions