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

x1034- dependency update for msw package #520

Open
seenanair opened this issue Dec 19, 2023 · 0 comments
Open

x1034- dependency update for msw package #520

seenanair opened this issue Dec 19, 2023 · 0 comments

Comments

@seenanair
Copy link
Contributor

msw package updated from 1.2.1 to 2.0.1

The main changes are

  • Call signature changes for graphql mutationn and query ( breaking change from 2.0 - Response resolver call signature is no longer (req, res, ctx) => res() but instead ({ request }) => new Response().)
  • setupWorker call chnaged to msw/browser

https://github.com/mswjs/msw/releases?page=2
https://mswjs.io/docs/api/graphql/

@seenanair seenanair changed the title x1034- msw update x1034- dependency update for msw package Dec 19, 2023
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