Module checks tests written with mocha/chai/sinon for issues:
- Usage
restore/spy/stub
in theit
- To many
expect
in the oneit
it
with empty title
git clone https://github.com/onechiporenko/tests-checker
cd test-checker
npm i
cd test-checker
Help:
node index.js --help
Check each file in the provided path
node index.js -p /my/folder/with/tests/**/*.js
Check each file in the provided path and save results to the file
node index.js -p /my/folder/with/tests/**/*.js -f output.txt --no-color