rcorp / standard-project-structure

A mission to improve developer productivity. Automate Everything ™ !
Apache License 2.0
5 stars 3 forks source link

Configure mocha using Grunt rather than mocha.opts #55

Open gaurav21r opened 7 years ago

gaurav21r commented 7 years ago

In line with our strategy, grunt provides a very productive, declarative way of giving configuration options to tools, not to mention standardized. Its much better to give options to mocha too using grunt than an opts file.

Further, this can also mean we can have different options for different grunt tasks (say one for the CI server one for the local environment etc.) which is not possible with opts.

@riteshe63 Please let me knoe if there is something we can write in the opts which we can't in the Gruntfile?

This will require some changes in #52