Closed mikicho closed 5 months ago
Hi, @mikicho. Can you please describe the expected behavior here? Is this the callback order that you find wrong? That seems to be correct (in your example). Are we not printing some of this? I suppose the .end()
callback never gets called for bypassed requests?
Sorry for the incomplete description. I have updated it.
Node.js behaviour:
This prints:
Mocked behavior:
Prints:
I can open a PR that pass the callback to the
respondWIth
and put it after the finish event.