Vue 3 Composables and Mock Service Worker: Token Refresh Interception in Integration Tests
Testing Authenticated API Flows Across Component and Network Boundaries When validating a Vue 3 application that relies on composables for authentication state and token refresh logic, the integration boundary between unit-tested composables and end-to-end network mocks becomes critical. The goal is to verify that expired access tokens trigger a transparent