FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
javascript-tutorial-server/mocha.sh at master · adaleorion/javascript-tutorial-server · GitHub
adaleorion
/
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
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
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) · 474 Bytes
Breadcrumbs
javascript-tutorial-server
/
mocha.sh
Copy path
File metadata and controls
executable file
·
11 lines (9 loc) · 474 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_PATH=./handlers:./modules NODE_ENV=test mocha --reporter spec --colors --timeout 100000 --require lib/mongoose --require should --require co --require co-mocha --recursive --ui bdd -d
$*
Back
|
FazBrowse Home
|
New Git URL