- Add
testandtest:watchcommands to package.json` - Refactor
mochacommand line parameters intomocha.opts - Add support file to avoid repetition of test setup
- Add
huskyfor git hooks - Run tests on
git commitorgit push
test and test:watch commands to package.json`mocha command line parameters into mocha.optshusky for git hooksgit commit or git push