:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
import { toolRegistry } from './components/tool/toolRegistry'
describe('posthogAiToolRenderers', () => {
it.each([
['insight-create', 'Insight'],
['insight-update', 'Insight'],
['insight-get', 'Insight'],
['insight-query', 'Insight query'],
['dashboard-create', 'Dashboard'],
['dashboard-update', 'Dashboard'],
['query-session-recordings-list', 'Session recordings'],
['query-error-tracking-issues-list', 'Error tracking'],
['query-error-tracking-issue', 'Error tracking'],
['query-error-tracking-issue-events', 'Error tracking'],
['query-trends', 'Trends query'],
['query-funnel', 'Funnel query'],
['notebooks-create', 'Notebook'],
['notebook-edit', 'Notebook'],
])('resolves %s from the central manifest with displayName "%s"', (key, displayName) => {
const entry = toolRegistry.lookup(key)
expect(entry).not.toBeNull()
expect(entry?.displayName).toEqual(displayName)
expect(entry?.keepVisible).toBe(true)
})
})