: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 { render } from '@testing-library/react'
import { BlastRadiusErrorMessage } from './BlastRadiusErrorMessage'
// Link-rendering coverage lives in scenes/insights/EmptyStates/InsightEmptyState.test.tsx, which
// tests the shared renderDetailWithLinks this delegates to.
describe('BlastRadiusErrorMessage', () => {
it('falls back to a generic line without a detail', () => {
const { container } = render(<BlastRadiusErrorMessage error={{ status: 500 }} pluralName="organizations" />)
expect(container.textContent).toBe("Couldn't estimate how many organizations match.")
})
})