pocesar/grunt-mocha-istanbul

Unable to run istanbul/mocha on code containing ES6 destructuring assignment

Closed this issue · 3 comments

I'm trying to run mocha/istanbul on code containing ES6 destructuring assignment. Node's --harmony flag does not enable destructuring assignment; it can only be enabled via --harmony_destructuring.

so basically it needs a nodeOptions to pass to the process before istanbul and mocha, correct?

implemented in 5.0.0, you can use babel with their plugins as well