-
Notifications
You must be signed in to change notification settings - Fork 134
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
flushHeaders
is not implemented on response mock
#312
Comments
As a workaround |
But node-mocks-http/lib/mockResponse.js Line 108 in 7297984
I think it should https://nodejs.org/api/http.html#responsewriteheadstatuscode-statusmessage-headers |
I checked manually to ensure the actual behaviour of |
It should just set
headersSent
on response, as per my understandingThe text was updated successfully, but these errors were encountered: