Skip to content

x1034- dependency update for msw package #520

@seenanair

Description

@seenanair

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/

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