Skip to content

msw + openapi-backend #9

Description

@GuillaumeOj

In the docs, there is a section dedicated to setup openapi-backend with msw (https://github.com/openapistack/docs/blob/7dccc49a61acec5dc39131b1045048c497789cd0/docs/examples/testing-react-with-jest-and-openapi-mocks.md).
Unfortunately, the last versions of msw brings breaking changes (since v2): https://mswjs.io/docs/migrations/1.x-to-2.x/

I was not able to find a solution to fix the configuration with the v2. However, it could be nice either to update the docs are add a warning about the breaking change.

Thanks 🙏

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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