pocesar/grunt-mocha-istanbul

--harmony option

Closed this issue · 4 comments

Where could one pass in the --harmony node option? It does not seem to work when passing it in through options.mochaOptions.

can you please provide your relevante Grunt config part?

+1
What is the expected way to enable harmony when running mocha tests? It's not documented on your README, and I briefly checked your source code which has a top level option "harmony", that doesn't seem to work either. Is this not supported?

everything that isn't "available" in the lib options, can be set using either mochaOptions or istanbulOptions

I've updated the README for clarity. mochaOptions is an array of strings, so should be mochaOptions: ['--harmony']