-
-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Testing With Database #523
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
Comments
Also very important for me ( in case of MongooseModule) |
I'm on it! Will update docs soon. Closing due to #363 duplicate. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm submitting a...
Current behavior
The documentation is pretty weak on integration testing but even a read through of all the issues had no solution that worked for me.
A TypeOrm entity
A Service
A test
Expected behavior
Test to new up the service successfully.
Minimal reproduction of the problem with instructions
#363 has answers from @VinceOPS that would lead me to believe this would work, but obviously "RoundRepository" doesn't exist because it's called "Round". If you can help me out with this I'll submit a PR for the docs, I think injecting more complex dependencies really illustrates the structure of a NestJS application well.
What is the motivation / use case for changing the behavior?
Environment
The text was updated successfully, but these errors were encountered: