Skip to content

usrz/javascript-grunt-esquire-mocha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Grunt Esquire (plus Mocha and Chai)

A simple plugin to load the Esquire library and run Mocha.

Installation

Install with NPM:

npm install --save-dev grunt-esquire

Then just add the esquire-mocha task to your GruntFile.js.

'esquire-mocha': {
  'options': { slow: 500 },
  'default': {
    src: [ 'index.js',
           'test/*.js' ]
  }
},

Details

Basically, this little plugin for Grunt will load all the source files, and wait for any static injection (specified via the global.esqire(...) call) before running Mocha.

License

[Apache License, Version 2.0](Apache License)

About

Esquire, plus Mocha, plus Grunt...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published