How to test the data loading components in Ember 2.3?


#1

I created some data loading components following this tutorial http://emberigniter.com/should-components-load-data/ . Now i want to test those components. The issue i am facing is the api calls are protected and when i write a tests for components they throw unauthorized. I am using ember simple auth for client side auth. Is there some way to test the components?


#2

How have you tried mocking the API response so far?


#3

Yes i have… But didn’t worked for me. i have a custom adapter to a non rest url which makes it hard to mock it. *also am not using the ember data…