Skip to content

.end(data, callback) doesn't work; .end(callback) doesn't work when recording #1549

@paulmelnikow

Description

@paulmelnikow

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions