-
Notifications
You must be signed in to change notification settings - Fork 761
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mocha test using supertest doesn't exit when used with gulp-mocha #121
Comments
Try |
@gjohnson can we get a full example put somewhere for how to use gulp with gulp-mocha? everyones' documentation is different and I'm constantly seeing bugs with streams and async stuff |
Yeah this still doesn't work for me with gulp-mocha. I'm just going to use https://github.com/dreame4/gulp-exit. |
+1 |
+1 |
Instead of using supertest I'm now using https://github.com/niftylettuce/frisbee |
If I run my tests which use supertest, the process doesn't seem to exit. Had to use Ctrl+C to kill the process.
Not sure if this is an issue with supertest or gulp-mocha.
The
gulp npm test
task also doesn't exit, unless explicitly exited withprocess.exit(-1)
gulpfile.js
Test file
The text was updated successfully, but these errors were encountered: