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?
How have you tried mocking the API response so far?
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…