studio-mock-api-tests
A maintainer skill in the Supabase monorepo for component tests in Supabase Studio that mock the network with Mock Service Worker instead of mocking data modules.
O que a skill ensina
A maintainer skill in the Supabase monorepo for component tests in Supabase Studio that mock the network with Mock Service Worker instead of mocking data modules. The agent renders the component with the project's custom render helper, registers typed handlers for every endpoint the component and its children call, and asserts on what appears on screen, checking request bodies only when the interface does not show the result. Its rules cover path parameter syntax, always answering through the JSON response helper so the fetch client does not hang, form events in sheets and modals, profile and route mocks, permission fixtures and listeners for finding requests that no handler matched.
O que faz
- Mock Studio API calls with typed MSW handlers
- Assert on rendered UI state
- Mock permissions and routes in tests
- Find requests no handler matched
Sobre
- Publicador
- Supabase
- Ferramenta
- Supabase
Instalação
O projeto não documenta passos de instalação que tenhamos conseguido confirmar. Veja as instruções do próprio projeto
Servidores MCP e skills podem executar código no seu computador e agir sobre os seus dados. Revise o código-fonte antes de instalar.
Detalhes
| Fato | Valor | Fonte |
|---|---|---|
| Tipo | Skill | |
| Ferramentas | Supabase, Testes | |
| Publicador | Supabase | fonte |
| Status oficial | Oficialin Supabase's own monorepo; a maintainer skill for Supabase's code, not for Supabase users | fonte |
| Exige chave de API ou login | Não informado na documentação | |
| Inclui scripts | Não | fonte |
| Plataformas | Não informado na documentação | |
| Clientes de IA | Não informado na documentação | |
| Licença | Apache-2.0 | fonte |
| Preço | Não informado na documentação | |
| Atividade | Último commit em 11 de nov. de 2026114.826 estrelas no GitHubDados de download indisponíveis (não está no npm nem no PyPI) | fonte |
| Links | Repositório Site |
Mais de Supabase
1 servidor · 26 skills
- Supabase (Servidor MCP)
- supabase-postgres-best-practices (Skill)
- supabase (Skill)
- supabase-server (Skill)
- clickhouse-logs-queries (Skill)
- edit-the-docs (Skill)
Também listado em: Testes
Fontes
- Arquivo da skill (SKILL.md)github.com/supabase/supabase · Comprova: Status oficial, Inclui scripts10 de nov. de 2026
- Repositório no GitHubgithub.com/supabase/supabase · Comprova: Licença, Publicador, Atividade11 de nov. de 2026
- Pasta no repositório (studio-mock-api-tests)github.com/supabase/supabase · Comprova: Inclui scripts10 de nov. de 2026