Skip to content

Support cookies between tests #9

@kamil-kubiczek

Description

@kamil-kubiczek

Idea description

While testing e2e API's using cookies is often necessary. I've came across problem with stateless nature of ofetch client. Cookies aren't sent between requests while testing Nitro app. It would be much easier to test with cookies jar built in nitro-test-utils. For now I created my own one.

Related issue, but with ofetch - unjs/ofetch#382

Questions

Would you plan to implement such feature in future? Or is there any easy way to handle cookies?

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