import { http, HttpResponse } from 'msw'; import type { paths } from '@/shared/api/schema'; type LoginResponse = paths['/auth/login']['post']['responses']['200']['content']['application/json']; export const loginHandler = http.post( '/auth/login', () => HttpResponse.json({ accessToken: '123' }), );