What is the expected behavior?
Calling .end(encoding, callback) .end(data, callback) on overridden requests, or when recording, should have the same behavior as a real client request.
When recording, calling .end(callback) should have the same behavior as a real client request.
See #1542 which fixed the .end(callback) case for overridden requests.
First reported in #1509.
What is the actual behavior?
Not sure.
Possible solution
Adapt Node's code for shuffling argument: #1509 (comment)
Does the bug have a test case?
Not yet.
What is the expected behavior?
Calling
.end(encoding, callback).end(data, callback)on overridden requests, or when recording, should have the same behavior as a real client request.When recording, calling
.end(callback)should have the same behavior as a real client request.See #1542 which fixed the
.end(callback)case for overridden requests.First reported in #1509.
What is the actual behavior?
Not sure.
Possible solution
Adapt Node's code for shuffling argument: #1509 (comment)
Does the bug have a test case?
Not yet.