How do I test an ember component that extends from another ember component?

I have an ember component that extends from another ember component. When I try to test the extended component I get an error saying “TypeError: Cannot read property ‘extend’ of undefined”.

e.g.

components/basic-component export default Ember.Component.extend({ // stuff });

components/extended-component import BasicComponent from ‘./basic-component’; export default BasicComponent.extend({ // stuff });

When I try to ExtendedComponent, I get “TypeError: Cannot read property ‘extend’ of undefined”.

I am using ember 1.8.1, and ember-qunit 0.1.8.