FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
javascript-tutorial-server/mocha.sh at master · fssh/javascript-tutorial-server · GitHub
fssh
/
javascript-tutorial-server
Public
forked from
javascript-tutorial/server
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
javascript-tutorial-server
/
mocha.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
11 lines (9 loc) · 431 Bytes
Breadcrumbs
javascript-tutorial-server
/
mocha.sh
Copy path
File metadata and controls
executable file
·
11 lines (9 loc) · 431 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
#!
/bin/bash
#
this script is used to run all or standalone mocha scripts
#
like this:
#
./mocha.sh
#
OR
#
./mocha.sh test/unit/model/user.js
#
tried also gulp-mocha and node `which gulp` test,
#
but it hangs after tests, not sure why, mocha.sh works fine so leave it as is
NODE_PRESERVE_SYMLINKS=1 NODE_PATH=./modules NODE_ENV=test node node_modules/.bin/mocha --full-trace --allow-uncaught --require should --recursive
$*
Back
|
FazBrowse Home
|
New Git URL