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

test: check types for http request and response #7003

Merged
merged 1 commit into from
Jun 29, 2016

Commits on Jun 29, 2016

  1. test: check types for http request and response

    Add a basic regression test that checks if the map for IncomingMessage
    and OutgoingMessage objects is stable over time.
    
    The test is not exhaustive in that it doesn't try to establish whether
    the transition path is the same on every request, it just checks that
    objects in their final states have the same map.
    
    To be investigated why the first (and only the first) ServerRequest
    object ends up with a deprecated map, regardless of the number of
    iterations.
    
    PR-URL: nodejs#7003
    Refs: nodejs#6294
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    bnoordhuis committed Jun 29, 2016
    Configuration menu
    Copy the full SHA
    dac16d8 View commit details
    Browse the repository at this point in the history