Skip to content

Container lookup breaks component unit tests #69

Closed
@Bargs

Description

All of my unit tests that use the moduleForComponent helper are currently failing on the container lookup in mobiletouch's EventDispatcher override (line 46). I think this must have started with the 1.4.11 release when that line was added. In the context of the unit test, this.container is undefined. Maybe I'm missing something, but the existence of this.container on the EventDispatcher seems to be undocumented so I'm not sure it can be relied upon.

I'm going to try to update ember-qunit and see if that fixes it, but I thought I should drop a note here as well.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions