-
Notifications
You must be signed in to change notification settings - Fork 161
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
fix: Constructor Injection fail in vitest/jest #1084
Comments
We found out that when you are using Jest and TypeDI, using
|
This is not a solution |
The microsofts DI for typescript, tsyringe, can prepare a separate constructor that hides injections within it and wraps the actual constructor. |
Description
Constructor Injection fail in vitest/jest
Injected with instance ContainerInstance
Expected behavior
Injected with instance Workshop
Actual behavior
Injected with instance Workshop ContainerInstance
The text was updated successfully, but these errors were encountered: