mswjs / msw

Industry standard API mocking for JavaScript.
https://mswjs.io
MIT License
16k stars 522 forks source link

fix: preserve trailing optional path parameters #2169

Closed kettanaito closed 5 months ago

kettanaito commented 6 months ago
KaiSpencer commented 6 months ago

Hey @kettanaito,

I have a fix for this. How would you like it contributing given this branch and PR already existing.

kettanaito commented 6 months ago

Hi, @KaiSpencer. This should work:

  1. Fork this repo.
  2. Check out to this PR's branch.
  3. From this branch, create a new branch. Give it whichever name you wish.
  4. Commit and push your changes to the new branch to your fork as the origin.
  5. Go on GitHub and open a PR from your new branch to this feature branch.

Then I'll see it and be able to review it!

kettanaito commented 5 months ago

Released: v2.3.1 🎉

This has been released in v2.3.1!

Make sure to always update to the latest version (npm i msw@latest) to get the newest features and bug fixes.


Predictable release automation by @ossjs/release.