Skip to content
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

Fix response headers in tests #529

Merged
merged 2 commits into from
Oct 14, 2018

Conversation

JamesKyburz
Copy link
Contributor

Fix the response tests since this commit was added to pino-std-serializers.

@jsumners
Copy link
Member

I am undecided about the classification of this. I want to say patch, but it could certainly be argued for greater.

@JamesKyburz
Copy link
Contributor Author

@jsumners The tests referencing res._header both fail in the .same assertions.

This is because when [email protected] is installed headers are serialized, prior to the fix res.header was null.

This PR just reflects the changed made when serializing an http response, and adds test assertions for headers.

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@jsumners jsumners left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mcollina mcollina merged commit 7ee7a55 into pinojs:master Oct 14, 2018
@github-actions
Copy link

github-actions bot commented Feb 6, 2022

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants