Skip to content

Add documentation on how to test for error behavior #43

Description

@maelle

Writing down what I think I understood

In all cases a good package structure seems to help, e.g. in your blog post example having crGET() makes things easier.
Also, if one wants to test the exact same function calls in two situations (server up, server down), one might need to play with .mockPaths().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions