: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(replay-vision): unmount the scanner scouts tree between tests (#110976)
Paul D'Ambrae776f67cda47
diff --git a/products/replay_vision/frontend/replay_scanners/components/ScannerScoutsTab.test.tsx b/products/replay_vision/frontend/replay_scanners/components/ScannerScoutsTab.test.tsxindex 38bbe5c9e2dc..dcbf524a595f 100644--- a/products/replay_vision/frontend/replay_scanners/components/ScannerScoutsTab.test.tsx+++ b/products/replay_vision/frontend/replay_scanners/components/ScannerScoutsTab.test.tsx@@ -1,4 +1,4 @@-import { render, waitFor } from '@testing-library/react'+import { cleanup, render, waitFor } from '@testing-library/react'import userEvent from '@testing-library/user-event'import { useMocks } from '~/mocks/jest'@@ -63,6 +63,7 @@ describe('ScannerScoutsTab', () => {})afterEach(() => {+ cleanup()delete (window as { POSTHOG_APP_CONTEXT?: AppContext }).POSTHOG_APP_CONTEXT})