mocha-parallel-tests icon indicating copy to clipboard operation
mocha-parallel-tests copied to clipboard

Grunt task implementation

Open DeChrish opened this issue 6 years ago • 4 comments

Can you provide the grunt implementation ?

DeChrish avatar Oct 04 '18 16:10 DeChrish

@DeChrish I can't say that I know a lot of things about grunt. Can you provide a sample grunt task for mocha?

1999 avatar Nov 01 '18 01:11 1999

@1999 - https://www.npmjs.com/package/grunt-mocha

DeChrish avatar Nov 18 '18 02:11 DeChrish

Nah, I totally get it. What I don't understand is the usual flow of the projects using Gunt. For me, Grunt is a task runner where you define a set of tasks like "gunt bundle" which bundles the front-end code etc. But what's the idea of using mocha in a Grunt task? Why not use it directly from the package.json scripts and run "npm test" instead?

1999 avatar Nov 18 '18 12:11 1999

@DeChrish ^

1999 avatar Nov 22 '18 08:11 1999