Skip to content

Deploying local server for integration tests #603

@DvirSh

Description

@DvirSh

Hi :)
Small question - I saw some tests with jest and enzyme for the react components, but what about server tests?
For example, looking at parameterized server example, assuming you are implementing some logic to retrieve blogs from somewhere, and you want to test the entire scope - you want to perform a GET /blog/:id request and see that you got the right react component rendered with the right properties.

What is the suggested way to do that? Is there an example / change to add one?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions