Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
+18
-7
@@ -30,19 +30,22 @@ const expectedCurrentRouteKeys: ApiRouteKey[] = [
|
||||
"GET /v1/analytics/public",
|
||||
"GET /v1/analytics/admin",
|
||||
"GET /v1/notifications/stream",
|
||||
"POST /v1/platform/leads",
|
||||
"GET /v1/workspaces/:tenantId/auth/providers",
|
||||
"POST /v1/workspaces/:tenantId/context/revalidate",
|
||||
"GET /v1/workspaces/:tenantId/invites",
|
||||
"POST /v1/workspaces/:tenantId/invites",
|
||||
"POST /v1/workspaces/:tenantId/invites/:inviteId/accept",
|
||||
"POST /v1/workspaces/:tenantId/invites/:inviteId/revoke",
|
||||
"POST /v1/ai/upload",
|
||||
"POST /v1/support/inbound-email",
|
||||
"POST /v1/email/inbound-mailjet",
|
||||
"POST /v1/email-sequences/mailjet/webhooks",
|
||||
"POST /v1/events/webhooks/attempts/:id",
|
||||
"POST /v1/maintenance/export-retention/enqueue",
|
||||
"GET /v1/exports/:exportJobId/download-url",
|
||||
"GET /v1/exports/:exportJobId/progress",
|
||||
"POST /v1/admin-sales/email/provider-events",
|
||||
"POST /v1/admin-sales/email/bcc-inbound",
|
||||
"POST /v1/devices/register",
|
||||
"POST /v1/devices/revoke",
|
||||
"GET /v1/contacts",
|
||||
@@ -55,17 +58,25 @@ const expectedCurrentRouteKeys: ApiRouteKey[] = [
|
||||
"GET /status",
|
||||
"GET /metrics",
|
||||
"GET /v1/usage",
|
||||
"POST /v1/billing/lago/webhooks",
|
||||
"POST /v1/billing/mollie/webhooks",
|
||||
"POST /v1/webhooks/telephony/aircall",
|
||||
"POST /v1/webhooks/telephony/hallopetra",
|
||||
"POST /v1/webhooks/admin-telephony/aircall",
|
||||
];
|
||||
|
||||
describe("scanApiRoutesFromSource", () => {
|
||||
it("returns the complete current route-key set from apps/api/src/app.ts and registered route modules", async () => {
|
||||
const result = await scanApiRoutesFromFile(apiAppPath);
|
||||
it(
|
||||
"returns the complete current route-key set from apps/api/src/app.ts and registered route modules",
|
||||
async () => {
|
||||
const result = await scanApiRoutesFromFile(apiAppPath);
|
||||
|
||||
expect(result.duplicateRoutes).toEqual([]);
|
||||
expect(result.unresolvedMountedRouters).toEqual([]);
|
||||
expect(formatApiRouteKeys(result.routes)).toEqual(expectedCurrentRouteKeys);
|
||||
});
|
||||
expect(result.duplicateRoutes).toEqual([]);
|
||||
expect(result.unresolvedMountedRouters).toEqual([]);
|
||||
expect(formatApiRouteKeys(result.routes)).toEqual(expectedCurrentRouteKeys);
|
||||
},
|
||||
60_000
|
||||
);
|
||||
|
||||
it("finds multiline Hono app route registrations", () => {
|
||||
const result = scanApiRoutesFromSource(`
|
||||
|
||||
Reference in new issue
Block a user