diff --git a/devfront/tests/helpers/devfront-fixtures.ts b/devfront/tests/helpers/devfront-fixtures.ts index bb7ec460..a8d26f67 100644 --- a/devfront/tests/helpers/devfront-fixtures.ts +++ b/devfront/tests/helpers/devfront-fixtures.ts @@ -176,6 +176,12 @@ export async function installDevApiMock(page: Page, state: DevApiMockState) { const { pathname, searchParams } = url; const method = request.method(); + if (pathname === "/api/v1/dev/my-tenants" && method === "GET") { + return json(route, [ + { id: "tenant-a", name: "Tenant A", slug: "tenant-a" }, + ]); + } + if (pathname === "/api/v1/dev/stats" && method === "GET") { const total = state.clients.length; return json(route, {