-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with mo(ck/ng)oose and testing #175
Comments
One thing I did do was update jest, to version 22.4.4. But I can't see how could that be causing this issue? |
Mockgoose has been facing issues with parallel testing for some time now. If you run Jest with |
Hi @pedro-victor, thanks a lot for quick answer! Thanks a lot! |
Hi,
thanks for this generator!
I have been using it for some time now, and I just encountered certain problems with testing and mockgoose.
The version of the generator is about 9 months old, I have mockgoose version 6.0.8 and mongoose 4.13.12.
I have not been using tests at all for some time and decided to start using them now. I updated all of them, they are all passing, but, I am getting a lot of errors from mongo, like this:
About topology being destroyed and
they are all appearing at the same time.
My setup.js looks like this:
which is basically as it was when generated.
/src/services/mongoose.js
looks like this:I have not changed it at all.
I am having hard time figuring out where to start from in order to fix this, so any help is very welcome! Thanks a lot.
The text was updated successfully, but these errors were encountered: