import {initializeData as _initializeData} from 'sentry-test/performance/initializePerformanceData'; import {act, render, screen} from 'sentry-test/reactTestingLibrary'; import TeamStore from 'sentry/stores/teamStore'; import EventView from 'sentry/utils/discover/eventView'; import {MEPSettingProvider} from 'sentry/utils/performance/contexts/metricsEnhancedSetting'; import {OrganizationContext} from 'sentry/views/organizationContext'; import SamplingModal from 'sentry/views/performance/landing/samplingModal'; const initializeData = () => { const data = _initializeData({ query: {statsPeriod: '7d', environment: ['prod'], project: [-42]}, }); data.eventView.additionalConditions.addFilterValues('transaction.op', ['pageload']); return data; }; const stubEl: any = props =>