-
Notifications
You must be signed in to change notification settings - Fork 203
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
InjectRepository fails when running test #67
Comments
Please, provide a minimal repository which reproduces your issue. |
Hey @kamilmysliwiec. I actually did add an example repository. Let me know if it needs some more clarification.
|
Looks more like a Jest configuration problem |
Sounds like you were passing |
Would you guys give more detail of this? I'm having this problem. How do we fix that? |
Same problem here... Some solution? |
I would suggest avoiding barrel files ( |
I'm submitting a...
Current behavior
@InjectRepository
fails with 'TypeError: Right-hand side of 'instanceof' is not an object'. whenyarn test
Expected behavior
Minimal reproduction of the problem with instructions
https://github.com/osmanmesutozcan/nestjs-inject-repository-bug-repro
to run it:
What is the motivation / use case for changing the behavior?
Environment
The text was updated successfully, but these errors were encountered: