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

Integration Test for Component with dependencies on a addon

$
0
0

@fatbotdesigns wrote:

I have a dependency with our internal addon where I'm injecting our json-api-resource to an integration test to 'wrap' a mirage fixture. The said dependency is a resource where it needs a injected service (from within the addon) for a computed property. The problem is when I run the test the computed property gets a undefined value from the injected service. Is there a way to load an ember addon when performing an integration test? Is there a better way to perform this test?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4838

Trending Articles