Stack Explorer

MSW

Testing

API mocking library that intercepts requests at network level

3M/week ↑ Growing

Features

mockingapinetwork

Pros and Cons

Ventajas

  • + Framework agnostic
  • + Works in browser and Node
  • + Intercepts at network level
  • + Great DX

Desventajas

  • - Service worker complexity
  • - Setup can be confusing

Use Cases

  • API mocking in tests
  • Development without backend
  • Storybook integration

Tecnologías Relacionadas

Compatible with

Related