Studio Mock API Tests

Component tests for Supabase Studio that mock API requests at the network layer with MSW. Use when writing or reviewing a component test that exercises a React Query hook or mutation, or when migrating an existing test away from vi.mock('@/data/...'). Covers the customRender + addAPIMock template and the jsdom/MSW gotchas that cost real debugging time.

supabase 6aab3a8 12.2 KB Updated

File contents

supabase/supabase commit 6aab3a8136

Frequently asked questions

npx skillmds add supabase/studio-mock-api-tests