Skip to content

Requests don't work consistently with MSW #332

@charklewis

Description

@charklewis

I am trying to set up a MSW to test my app and I have found that when I use the request method from this SDK the requests haphazardly fail. I have been tracking this issue on MSW's repo as I thought it was a bug there. You can see that issue here - mswjs/msw#1143.

I have created a small repo you can use to reproduce the error. Are you able to advice if there are changes I need to make to the configuration in order to get these tests to pass? If you swap out the client.request method for the typical fetch you will see the pass without issues.

Link to repo - https://github.com/charklewis/sb9or3

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