pocesar/grunt-mocha-istanbul

Require function

Closed this issue · 3 comments

Is it possible to require a function in the same way the grunt-mocha-test allows? When I try to do that, I get a "Cannot find module" error.

not in the current state of the library. it uses command lines, grunt-mocha-test use mocha programatically

So the makeshift solution is to just make a small js file to execute the function?

yeah, that would suffice