Run Mocha server-side tests in Grunt.

(gruntplugin, mocha)

Critical or Security advisories for 4.0.0

This version doesn't have any advisory. Want to report one?

Changelog for 4.0.0

Breaking changes

  • Upgraded to Mocha 4.
  • Removed no-exit option due to changes in Mocha 4.
  • The package now exports the Grunt task rather than the lib.


  • Package now exports the Grunt task to enable advanced Grunt usage like: require('grunt-mocha-cli')(grunt).


  • Modernise the development environment using AVA, XO and prettier.

Dependencies for 4.0.0

Name Requirement Status
Npms ava








Npms mz


Display all

My projects using grunt-mocha-cli

Name Locked version Requirement
You should be logged in to see which of your projects use grunt-mocha-cli.