Frontend

Mocking APIs for frontend development: MSW vs Prism vs spec-driven mocks

MSW intercepts requests inside the browser and shines in component tests; Prism serves a spec over HTTP and validates contracts; spec-driven workspaces add journeys and streams. Here is where each belongs and how teams combine them without maintaining three sets of fixtures.

4 min read