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

Let mocha float from 2.4.5 #130

Closed
wants to merge 1 commit into from
Closed

Conversation

Dhaulagiri
Copy link
Contributor

As part of the change in #124 to stop loading mocha from bower the version of mocha was changed from ~2.4.5 to ^2.5.3. For reasons that are not immediately obvious to me due to lack of time to dig in this breaks the test suite in one of our apps because mocha is not respecting .skip flags.

I would still like to be able to use the latest changes in ember-cli-mocha though, so this PR changes the version of mocha specified in ember-cli-mocha to ^2.4.5. By default this will still give consumers of ember-cli-mocha version 2.5.3 of mocha, but it allows consumers of ember-cli-mocha to specify in their package.json version 2.4.5 to avoid any possible side effects of the bower -> npm change in this addon.

@rwjblue
Copy link
Member

rwjblue commented Nov 3, 2016

Seems good to me!

@Turbo87
Copy link
Member

Turbo87 commented Nov 10, 2016

@Dhaulagiri Interesting to hear that .skip is not working for you. I thought I tested it and found that it was only an issue with Mocha 3.x...

@Dhaulagiri
Copy link
Contributor Author

Dhaulagiri commented Nov 10, 2016

It turned out that our custom reporter was blowing up in a weird way that caused this to happen with newer mocha. Since the reporter wasn't creating a lot of value we just removed it. I think this PR might still be nice for folks to give them the option to stay on the same version prior releases of ember-cli-mocha worked with, but it's not a blocker for us anymore.

@Turbo87
Copy link
Member

Turbo87 commented Nov 10, 2016

@Dhaulagiri my plan is to upgrade to Mocha 3.x soon anyway, so this will hopefully be irrelevant in the near future :)

@Turbo87 Turbo87 closed this Nov 10, 2016
@Dhaulagiri Dhaulagiri deleted the br-mocha branch December 1, 2016 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants