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

Can't generate acceptance tests #213

Closed
CodingItWrong opened this issue Aug 5, 2018 · 1 comment
Closed

Can't generate acceptance tests #213

CodingItWrong opened this issue Aug 5, 2018 · 1 comment
Labels

Comments

@CodingItWrong
Copy link

I'm attempting to set up a new Ember 3.3 project using ember-cli-mocha. It installs ember-mocha 0.13.1 by default, but it seems that I need to update ember-mocha to use new-style async testing. When I install ember-mocha 0.14.0, though, it seems like I can no longer generate acceptance tests with ember g.

Here is a branch of my mostly-empty project that exhibits the problem. The final commit in the branch is what upgrades ember-mocha to 0.14.0 and where the problem starts occurring: https://github.com/CodingItWrong/bible-reading-ember/tree/acceptance-test-troubleshooting

Before upgrade:

~/apps/bible-reading/client [acceptance-test-troubleshooting] # ember generate acceptance-test smoke
installing acceptance-test
  create tests/acceptance/smoke-test.js
~/apps/bible-reading/client [acceptance-test-troubleshooting] #

After upgrade:

~/apps/bible-reading/client [acceptance-test-troubleshooting] # ember generate acceptance-test smoke
installing acceptance-test
~/apps/bible-reading/client [acceptance-test-troubleshooting] #

This problem is also occurring in an Ember 3.1 app of mine using ember-mocha 0.14.0-beta.1

Please let me know anything I can do to help troubleshoot!

@Turbo87
Copy link
Member

Turbo87 commented May 11, 2019

@CodingItWrong emberjs/ember.js#16865 added support for standalone ember-mocha and the new APIs in Ember itself, unfortunately it is only available in Ember 3.6 and above.

@Turbo87 Turbo87 closed this as completed May 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants