From 2ebe2c56131db6cdebde0abade5c168715fd7b74 Mon Sep 17 00:00:00 2001 From: kyy Date: Thu, 19 Mar 2026 13:04:00 +0900 Subject: [PATCH] =?UTF-8?q?=ED=85=8C=EB=84=8C=ED=8A=B8=20=EC=A1=B0?= =?UTF-8?q?=ED=9A=8C=20Mock=20API=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- devfront/tests/helpers/devfront-fixtures.ts | 6 ++++++ 1 file changed, 6 insertions(+) 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, {