Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

msw + openapi-backend #9

Open
GuillaumeOj opened this issue Sep 27, 2024 · 0 comments
Open

msw + openapi-backend #9

GuillaumeOj opened this issue Sep 27, 2024 · 0 comments

Comments

@GuillaumeOj
Copy link

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 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant