I expect to implement unit test and unit tests to pass without errors.
Current Behavior
I got this error "Decorators cannot be used to decorate parameters" when implementing unit testing in my app.
I expect that unit tests to pass with pointing to the line where I implement the "@inject"
All errors says "Decorators cannot be used to decorate parameters" and pointing to the "@inject" in the constructor of the class.
Possible Solution
by removing the "@inject" from constructor, unit tests pass.
Expected Behavior
I expect to implement unit test and unit tests to pass without errors.
Current Behavior
I got this error "Decorators cannot be used to decorate parameters" when implementing unit testing in my app. I expect that unit tests to pass with pointing to the line where I implement the "@inject" All errors says "Decorators cannot be used to decorate parameters" and pointing to the "@inject" in the constructor of the class.
Possible Solution
by removing the "@inject" from constructor, unit tests pass.
Steps to Reproduce (for bugs)
Got the error with this syntex:
Test passes with this syntex
Context
It prevent us from building unit tests for the project.
Your Environment
Another Environment for another project where unit test passes but with different versions: