mswjs / msw

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

Update 2.x removeAllListeners documentation #2157

Closed rcuching closed 6 months ago

rcuching commented 6 months 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.