: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
chore(activity-log): unmount rendered trees between insight log tests (#115919)
Thomas Obermüller88b03634980a
diff --git a/frontend/src/lib/components/ActivityLog/activityLogLogic.insight.test.tsx b/frontend/src/lib/components/ActivityLog/activityLogLogic.insight.test.tsxindex 845872b9650c..b359818c765f 100644--- a/frontend/src/lib/components/ActivityLog/activityLogLogic.insight.test.tsx+++ b/frontend/src/lib/components/ActivityLog/activityLogLogic.insight.test.tsx@@ -2,7 +2,7 @@ import { MOCK_TEAM_ID } from 'lib/api.mock'import '@testing-library/jest-dom'-import { render } from '@testing-library/react'+import { cleanup, render } from '@testing-library/react'import { makeTestSetup } from 'lib/components/ActivityLog/activityLogLogic.test.setup'@@ -12,6 +12,8 @@ import { ActivityScope } from '~/types'jest.mock('lib/colors')describe('the activity log logic', () => {+ afterEach(cleanup)+describe('humanizing insights', () => {const insightTestSetup = makeTestSetup(ActivityScope.INSIGHT,