Skip to content

Commit

Permalink
chore(deps): bump msw to v2.3.0
Browse files Browse the repository at this point in the history
Version 2 of msw saw significant [breaking changes](https://github.com/mswjs/msw/releases/tag/v2.0.0). We resolved them mostly by running the codemod `npx codemod msw/2/upgrade-recipe`, but then we had to adjust the [netowrk error](https://mswjs.io/docs/migrations/1.x-to-2.x#resnetworkerror) and the base path of the request.
  • Loading branch information
sk- committed May 17, 2024
1 parent 3a1960a commit ee81071
Show file tree
Hide file tree
Showing 3 changed files with 174 additions and 569 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"eslint-plugin-vitest": "^0.4.1",
"express": "^4.19.2",
"jsdom": "^24.0.0",
"msw": "^1.2.5",
"msw": "^2.3.0",
"prettier": "^3.2.5",
"react": "^18.3.1",
"react-dom": "^18.3.1",
Expand Down
Loading

0 comments on commit ee81071

Please sign in to comment.