mswjs / msw

Seamless REST/GraphQL API mocking library for browser and Node.js.
https://mswjs.io
MIT License
15.28k stars 479 forks source link

Update 2.x removeAllListeners documentation #2157

Closed rcuching closed 1 month ago

rcuching commented 1 month ago

Scope

Improves an existing behavior

Compatibility

Feature description

While debugging msw 2.2.14 I was able to find server.events.removeAllListeners. I was able to find the 1.0 docs related to this feature https://v1.mswjs.io/docs/extensions/life-cycle-events#removealllisteners. Requesting documentation update to reflect current features unless its planned to be deprecated and just not annotated as such.