I created some data loading components following this tutorial Should Components Load Data? - Ember Igniter . 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…