1.0.2 • Published 9 years ago
grunt-esquire-mocha v1.0.2
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)