@Ashok_Kumar wrote:
I am using mocha to unit test my ember app. I have an ember controller which has a statement - needs: ['application'], which is blocking my unit test.
I am getting the following error while unit testing: specifies
needs
, but does not have a container. Please ensure this controller was instantiated with a container.I am not getting this error while using my ember app but only when unit testing.
Please suggest any help.
Posts: 5
Participants: 2