Skip to content

How to check whether mswjs is supported or not? #2443

Answered by kettanaito
mainendra asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, @mainendra.

MSW is supported as long as its dependencies are supported in your environment. Those include:

  • The Service Worker API (globalThis.navigator.serviceWorker)
  • The Fetch API (globalThis.fetch)
  • Web Streams API (globalThis.TransformStream) (often comes in bulk with the Fetch API)

These are the main things.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kettanaito
Comment options

Answer selected by mainendra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants