|
1 year ago | |
---|---|---|
.. | ||
lib | 1 year ago | |
CHANGELOG.md | 1 year ago | |
LICENSE | 1 year ago | |
intelli-espower-loader.js | 1 year ago | |
package.json | 1 year ago | |
readme.md | 1 year ago |
Handy node module for power-assert and espower-loader.
npm install intelli-espower-loader --save-dev
You should also install power-assert.
npm install power-assert --save-dev
See example/
The default folder is "test/"
. You must put your test script in this folder.
If you don't put your test code in the right folder, intelli-espower-loader will work incorrectly.
You can change test folder setting in your package.json
{
"name": "your-module",
"description": "Your module",
"version": "0.0.1",
"directories": {
"test": "test/"
},
"license": "MIT",
...
}
"directories": {
"test": "test/"
}
intelli-espower-loader
mocha --require intelli-espower-loader
Run Test with power-assert on the fly!!
git checkout -b my-new-feature
git commit -am 'Add some feature'
git push origin my-new-feature
MIT