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

mocha.opts does not support --harmony #1573

Closed
matthewmueller opened this issue Mar 1, 2015 · 3 comments
Closed

mocha.opts does not support --harmony #1573

matthewmueller opened this issue Mar 1, 2015 · 3 comments

Comments

@matthewmueller
Copy link

If you run mocha --harmony that works fine, but placing --harmony in mocha.opts doesn't seem to work.

@fixe
Copy link

fixe commented Mar 2, 2015

nvm install iojs :-)

@raine
Copy link

raine commented Mar 3, 2015

👍

@lloydcotten
Copy link

This is all well and good - but you also broke the ability to use mocha.opts when invoking _mocha directly. Using _mocha directly is needed when running things like istanbul.

Is this intentional? If so, do you have any more elegant suggestions (besides not using mocha.opts or doing the readFileSync / trim / split / filter bit in our own wrapper script?)

Thanks!

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

4 participants