Last active
June 27, 2018 17:54
-
-
Save nicholaskajoh/097cae2579e536b3a6f2bcb6c62f2eb9 to your computer and use it in GitHub Desktop.
Test single file in Mocha (Sails.js)
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
# assuming we want to run the tests in User.test.js | |
# remember to add test/bootstrap.test.js to mocha.opts | |
NODE_ENV=test node_modules/.bin/mocha test/integration/model/User.test.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment