About
This skill provides comprehensive guidance and boilerplate for implementing Mock Service Worker (MSW) in frontend applications, allowing developers to simulate real-world API interactions without mocking low-level fetch or axios calls. It covers setting up global handlers, managing test servers within Vitest or Jest, overriding responses for specific test cases, and simulating complex network conditions like delays or error states, ensuring that tests remain decoupled from implementation details and focused on user-visible behavior.