How to use express-mongo-bootstrap with WebStorm
- Preferences -> Languages & Frameworks -> Node.js and NPM -> Enable Node.js Core Library
- Run -> Edit Configuration -> Defaults -> Mocha
- Environment variable: NODE_ENV=test
- Mocha package: [project_directory]/mode_modules/mocha
- User Interface: bdd
- Test file patterns -> File patters: *.test.js
- Before launch: npm script -> Run npm script 'seeddb'