Skip to content

Testing the response #43

@TLyngeJ

Description

@TLyngeJ

I'm trying to write a unit test, in an application that uses https://packagist.org/packages/react/react, where I want to know if the Response objects has been written successfully. You know, header is set properly to return status 200, it contains some text that is going to be returned to the browser, maybe that isWriteable() is false and all of that.

What is the proper way of checking that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions