Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions apps/mobile/src/components/app-unlock-screen.test-helpers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -355,14 +355,11 @@ vi.mock('@/lib/hooks/use-trusted-hosts', () => ({
useTrustedHosts: () => ({ trustedHosts: [], hasLoaded: true }),
}));
vi.mock('@/lib/picker-bridge', () => ({ setLanguagePickerBridge: vi.fn() }));
// The preferences screen mounts the feature-flag debug surface, which reads
// PostHog flag statuses; the real module pulls in expo-application's native
// chain, which no mounted test loads. An empty registry keeps the section
// out of these scenes. `subscribeToPostHogReady` is listed because the consent
// record module (reached through the (app) layout's TourAutoOpen) registers a
// load-time listener; these scenes never exercise telemetry readiness.
// `subscribeToPostHogReady` is listed because the consent record module
// (reached through the (app) layout's TourAutoOpen) registers a load-time
// listener; the real module pulls in expo-application's native chain, which no
// mounted test loads. These scenes never exercise telemetry readiness.
vi.mock('@/lib/analytics/posthog', () => ({
useFeatureFlagStatuses: () => [],
subscribeToPostHogReady: () => () => undefined,
}));

Expand Down
227 changes: 0 additions & 227 deletions apps/mobile/src/components/feature-flags-section.mounted.test.tsx

This file was deleted.

68 changes: 0 additions & 68 deletions apps/mobile/src/components/feature-flags-section.tsx

This file was deleted.

Loading
Loading