Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrading to ember@2.18 and installing ember-test-helpers leaves module undefined during test hooks #205

Closed
BryanCrotaz opened this issue Feb 13, 2018 · 3 comments

Comments

@BryanCrotaz
Copy link

BryanCrotaz commented Feb 13, 2018

This seems like the same symptom as emberjs/ember-qunit#179.

Tests run in PhantomJS and every unit and integration test now fails with undefined is not an object (evaluating 'module.setContext'). A small number fail instead with you must set a resolver with \testResolver.set(resolver)`, but that's probably notember-cli-qunit`.

@rwjblue
Copy link
Member

rwjblue commented Feb 13, 2018

Can you provide a reproduction?

@BryanCrotaz
Copy link
Author

I'm not sure how to - I've upgraded other projects and not seen this. I don't think they're using ember-test-helpers though.

It's a private repo - I could give you temporary access. It's a reasonably small addon - 70 tests,

@BryanCrotaz
Copy link
Author

rebuilt from a new clean addon - installing ember-test-helpers is what breaks it. I'll reopen in there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants