Created
January 21, 2019 18:25
-
-
Save bmorrisondev/e163e8f9b25bc29100af74da437231b4 to your computer and use it in GitHub Desktop.
NPM command to start nodemon & mocha, and run any tests with the 'spec.js' suffix inside the src folder of a node project.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"test-spec": "nodemon --exec \"mocha -c --reporter=spec --recursive \"src/**/*.spec.js\"\"" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment