test(apps): cover PostHog gallery route

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
DottaandPaperclip committed 2026-08-20 21:20:01 +00:00
1 parent b5301d3ab3
commit ba4ff3fdf6
1 file changed
+8
@@ -2541,6 +2541,7 @@ describeEmbeddedPostgres("tool access service", () => {
"github",
"slack",
"notion",
"posthog",
"linear",
"google-sheets",
"context7",
@@ -2548,6 +2549,13 @@ describeEmbeddedPostgres("tool access service", () => {
expect(res.body.apps.map((app: { slug: string }) => app.slug)).not.toContain("google-drive");
expect(res.body.apps).toEqual(
expect.arrayContaining([
expect.objectContaining({
slug: "posthog",
methods: expect.arrayContaining([
expect.objectContaining({ key: "mcp-oauth", auth: "oauth" }),
expect.objectContaining({ key: "mcp-api-key", auth: "api_key" }),
]),
}),
expect.objectContaining({
slug: "slack",
methods: expect.arrayContaining([