refactor: 리펙토링

This commit is contained in:
DongHyeonka
2026-08-01 19:39:59 +09:00
parent 9c959ea2a5
commit c6da03369c
171 changed files with 20329 additions and 782 deletions
+1 -7
View File
@@ -82,13 +82,7 @@ try {
}).observe({ type: "layout-shift", buffered: true });
});
await page.goto(baseUrl, { waitUntil: "networkidle" });
const performanceRoutes: ReadonlyArray<{
access: string;
navigationLabel: string | null;
}> = Object.values(ROUTE_REGISTRY);
const targetLabel = performanceRoutes.find(
(definition) => definition.access === "integration-defined",
)?.navigationLabel;
const targetLabel = ROUTE_REGISTRY.REFERENCE_RESOURCE_LIST.navigationLabel;
if (!targetLabel) {
throw new Error("Performance route must be present in navigation.");
}