-
Notifications
You must be signed in to change notification settings - Fork 112
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
Server is not closed after request #187
Comments
Well I've looked into the source code of my installed version, compared it with the code in this repository, and it seems like the changes to close the connection after request (the last commits) are not in the NPM repository (I've installed the NPM version twice, just to be sure, and these changes are not there). Can you please update the NPM package? |
Hello @serge1peshcoff
|
@vieiralucas Is there any ETA or the release date? |
hey @vieiralucas installing from master doesn't fix this. Any other workarounds? I want the server to restart for each |
I am using chai-http to write the tests like that:
The thing is, requests to another services are cached in memory of my application, and the first time it doesn't use the cached version, as needed, but the second time I run it, it uses the cached version. That means that the app isn't closed after 1st request somehow. Also I tried to put debut statements inside the callback after server start, and they are executed only once per the whole test run, not for each test. And I need the server to be restarted after each test.
How can I accomplish it?
chai-http v3.0.0, chai v3.5.0, Node v8.7.0, Mac OS x 10.13.1
The text was updated successfully, but these errors were encountered: