You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed a discrepancy between my handlers running in a live env and running during tests. In test using a mock response the end event gets called, but it doesn't get called in production. The node docs say that the end event should only get called when the stream is in flowing mode: https://nodejs.org/api/stream.html#stream_event_end
Conversely, in a live env the finish event gets fired on my responses, but not on mock responses.
The text was updated successfully, but these errors were encountered:
I noticed a discrepancy between my handlers running in a live env and running during tests. In test using a mock response the
end
event gets called, but it doesn't get called in production. The node docs say that theend
event should only get called when the stream is in flowing mode: https://nodejs.org/api/stream.html#stream_event_endConversely, in a live env the
finish
event gets fired on my responses, but not on mock responses.The text was updated successfully, but these errors were encountered: