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.
Was der Skill vermittelt
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.
Funktionen
- Mock Studio API calls with typed MSW handlers
- Assert on rendered UI state
- Mock permissions and routes in tests
- Find requests no handler matched
Überblick
- Herausgeber
- Supabase
- Tool
- Supabase
Installation
Das Projekt dokumentiert keine Installationsschritte, die wir bestätigen konnten. Zur Anleitung des Projekts
MCP-Server und Skills können Code auf deinem Rechner ausführen und auf deine Daten zugreifen. Prüfe den Quellcode, bevor du etwas installierst.
Details
| Angabe | Wert | Quelle |
|---|---|---|
| Typ | Skill | |
| Tools | Supabase, Testing | |
| Herausgeber | Supabase | Quelle |
| Offizieller Status | Offiziellin Supabase's own monorepo; a maintainer skill for Supabase's code, not for Supabase users | Quelle |
| Braucht API-Key oder Anmeldung | In der Dokumentation nicht angegeben | |
| Enthält Skripte | Nein | Quelle |
| Plattformen | In der Dokumentation nicht angegeben | |
| KI-Clients | In der Dokumentation nicht angegeben | |
| Lizenz | Apache-2.0 | Quelle |
| Preis | In der Dokumentation nicht angegeben | |
| Aktivität | Letzter Commit am 11. Nov. 2026114.826 GitHub-SterneKeine Download-Daten verfügbar (nicht auf npm oder PyPI) | Quelle |
| Links | Repository Website |
Mehr von Supabase
1 Server · 21 Skills
- Supabase (MCP-Server)
- supabase-postgres-best-practices (Skill)
- supabase (Skill)
- supabase-server (Skill)
- clickhouse-logs-queries (Skill)
- edit-the-docs (Skill)
Auch zu finden unter: Testing
Quellen
- Skill-Datei (SKILL.md)github.com/supabase/supabase · Belegt: Offizieller Status, Enthält Skripte10. Nov. 2026
- GitHub-Repositorygithub.com/supabase/supabase · Belegt: Lizenz, Herausgeber, Aktivität11. Nov. 2026
- Ordner im Repository (studio-mock-api-tests)github.com/supabase/supabase · Belegt: Enthält Skripte10. Nov. 2026