Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4829

Need help in ember unit testing

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 4829

Trending Articles