Code to make msw respond with status only
Code that responds with a 200 OK status only
rest.patch(
`url`,
(_, res, ctx) => {
return res(ctx.status(200));
},
),
20220209
Code that responds with a 200 OK status only
rest.patch(
`url`,
(_, res, ctx) => {
return res(ctx.status(200));
},
),
20220209
Leave a comment