Make espower-lodaer config file unnecessary.
npm install intelli-espower-loaderHandy node module for power-assert and espower-loader.
`` sh`
npm install intelli-espower-loader --save-dev
You should also install power-assert.
`sh`
npm install power-assert --save-dev
See example/
. 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` json
{
"name": "your-module",
"description": "Your module",
"version": "0.0.1",
"directories": {
"test": "test/"
},
"license": "MIT",
...
}
`` json
"directories": {
"test": "test/"
}
`$3
` sh
mocha --require intelli-espower-loader
`Run Test with power-assert on the fly!!
Contributing
1. Fork it!
2. Create your feature branch:
git checkout -b my-new-feature
3. Commit your changes: git commit -am 'Add some feature'
4. Push to the branch: git push origin my-new-feature`MIT
[ci-image]: https://github.com/power-assert-js/intelli-espower-loader/workflows/Node.js%20CI/badge.svg
[ci-url]: https://github.com/power-assert-js/intelli-espower-loader/actions?query=workflow%3A%22Node.js+CI%22