Skip to content

Commit

Permalink
Merge pull request Expensify#31783 from Expensify/flo-mockb
Browse files Browse the repository at this point in the history
Remove all unused mock betas
  • Loading branch information
flodnv authored Nov 23, 2023
2 parents 9f16cce + 6c74c47 commit 92f799e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 222 deletions.
70 changes: 0 additions & 70 deletions src/CONST.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,76 +260,6 @@ const CONST = {
THREADS: 'threads',
CUSTOM_STATUS: 'customStatus',
NEW_DOT_SAML: 'newDotSAML',
PDF_META_STORE: 'pdfMetaStore',
REPORT_ACTION_CONTEXT_MENU: 'reportActionContextMenu',
SUBMIT_POLICY: 'submitPolicy',
ATTENDEES: 'attendees',
AUTO_EXPORT: 'autoExport',
AUTO_EXPORT_INTACCT: 'autoExportIntacct',
AUTO_EXPORT_QBO: 'autoExportQbo',
AUTO_EXPORT_XERO: 'autoExportXero',
AUTO_JOIN_POLICY: 'autoJoinPolicy',
AUTOMATED_TAX_EXEMPTION: 'automatedTaxExemption',
BILL_PAY: 'billPay',
CATEGORY_DEFAULT_TAX: 'categoryDefaultTax',
COLLECTABLE_DEPOSIT_ACCOUNTS: 'collectableDepositAccounts',
CONCIERGE_TRAVEL: 'conciergeTravel',
CONNECTED_CARDS: 'connectedCards',
DISCREPANCY: 'discrepancy',
DOMAIN_CONTACT_BILLING: 'domainContactBilling',
DOMAIN_TWO_FACTOR_AUTH: 'domainTwoFactorAuth',
DUPLICATE_DETECTION: 'duplicateDetection',
EMAIL_SUPPRESSION_BETA: 'emailSuppressionBeta',
EXPENSES_V2: 'expensesV2',
EXPENSIFY_CARD: 'expensifyCard',
EXPENSIFY_CARD_INTACCT_RECONCILIATION: 'expensifyCardIntacctReconciliation',
EXPENSIFY_CARD_NETSUITE_RECONCILIATION: 'expensifyCardNetSuiteReconciliation',
EXPENSIFY_CARD_QBO_RECONCILIATION: 'expensifyCardQBOReconciliation',
EXPENSIFY_CARD_RAPID_INCREASE_FRAUD: 'expensifyCardRapidIncreaseFraud',
EXPENSIFY_CARD_XERO_RECONCILIATION: 'expensifyCardXeroReconciliation',
EXPENSIFY_ORG: 'expensifyOrg',
FIX_VIOLATION_PUSH_NOTIFICATION: 'fixViolationPushNotification',
FREE_PLAN_FULL_LAUNCH: 'freePlanFullLaunch',
FREE_PLAN_SOFT_LAUNCH: 'freePlanSoftLaunch',
GUSTO: 'gusto',
INBOX_CACHE: 'inboxCache',
INBOX_HIDDEN_TASKS: 'inboxHiddenTasks',
INDIRECT_INTEGRATION_SETUP: 'indirectIntegrationSetup',
IOU: 'IOU',
JOIN_POLICY: 'joinPolicy',
LOAD_POLICY_ASYNC: 'loadPolicyAsync',
MAP_RECEIPT: 'mapReceipt',
MERGE_API: 'mergeAPI',
MOBILE_REALTIME_REPORT_COMMENTS: 'mobileRealtimeReportComments',
MOBILE_SECURE_RECEIPTS: 'mobileSecureReceipts',
MONTHLY_SETTLEMENT: 'monthlySettlement',
NAMES_AND_AVATARS: 'namesAndAvatars',
NATIVE_CHAT: 'nativeChat',
NEW_PRICING: 'newPricing',
NEWSLETTER_THREE: 'newsletterThree',
NEXT_STEPS: 'nextSteps',
OPEN_FACE_HAMBURGER: 'openFaceHamburger',
PER_DIEM: 'perDiem',
PER_DIEM_INTERNATIONAL: 'perDiemInternational',
PRICING_COPY_CHANGES: 'pricingCopyChanges',
QBO_INVOICES: 'qboInvoices',
QUICKBOOKS_DESKTOP_V2: 'quickbooksDesktopV2',
REALTIME_REPORT_COMMENTS: 'realtimeReportComments',
S2W_ANNOUNCEMENT: 's2wAnnouncement',
SCHEDULED_AUTO_REPORTING: 'scheduledAutoReporting',
SECURE_RECEIPTS: 'secureReceipts',
SECURE_RECEIPTS_REPORTS: 'secureReceiptsReports',
SELF_SERVICE_HARD_LAUNCH: 'selfServiceHardLaunch',
SEND_MONEY: 'sendMoney',
SMART_SCAN_USER_DISPUTES: 'smartScanUserDisputes',
SMS_SIGN_UP: 'smsSignUp',
STRIPE_CONNECT: 'stripeConnect',
SUMMARY_EMAIL: 'summaryEmail',
SWIPE_TO_WIN: 'swipeToWin',
TAX_FOR_MILEAGE: 'taxForMileage',
TWO_FACTOR_AUTH: 'twoFactorAuth',
VENMO_INTEGRATION: 'venmoIntegration',
ZENEFITS_INTEGRATION: 'zenefitsIntegration',
VIOLATIONS: 'violations',
},
BUTTON_STATES: {
Expand Down
77 changes: 1 addition & 76 deletions src/libs/E2E/apiMocks/openApp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1457,82 +1457,7 @@ const openApp = (): Response => ({
{
onyxMethod: 'set',
key: 'betas',
value: [
'all',
'pdfMetaStore',
'reportActionContextMenu',
'submitPolicy',
'attendees',
'autoExport',
'autoExportIntacct',
'autoExportQbo',
'autoExportXero',
'autoJoinPolicy',
'automatedTaxExemption',
'billPay',
'categoryDefaultTax',
'collectableDepositAccounts',
'conciergeTravel',
'connectedCards',
'discrepancy',
'domainContactBilling',
'domainTwoFactorAuth',
'duplicateDetection',
'emailSuppressionBeta',
'expensesV2',
'expensifyCard',
'expensifyCardIntacctReconciliation',
'expensifyCardNetSuiteReconciliation',
'expensifyCardQBOReconciliation',
'expensifyCardRapidIncreaseFraud',
'expensifyCardXeroReconciliation',
'expensifyOrg',
'fixViolationPushNotification',
'freePlan',
'freePlanFullLaunch',
'freePlanSoftLaunch',
'gusto',
'inboxCache',
'inboxHiddenTasks',
'indirectIntegrationSetup',
'IOU',
'joinPolicy',
'loadPolicyAsync',
'mapReceipt',
'mergeAPI',
'mobileRealtimeReportComments',
'mobileSecureReceipts',
'monthlySettlement',
'namesAndAvatars',
'nativeChat',
'newPricing',
'newsletterThree',
'nextSteps',
'openFaceHamburger',
'pdfMetaStore',
'perDiem',
'perDiemInternational',
'pricingCopyChanges',
'qboInvoices',
'quickbooksDesktopV2',
'realtimeReportComments',
's2wAnnouncement',
'scheduledAutoReporting',
'secureReceipts',
'secureReceiptsReports',
'selfServiceHardLaunch',
'sendMoney',
'smartScanUserDisputes',
'smsSignUp',
'stripeConnect',
'submitPolicy',
'summaryEmail',
'swipeToWin',
'taxForMileage',
'twoFactorAuth',
'venmoIntegration',
'zenefitsIntegration',
],
value: ['all'],
},
{
onyxMethod: 'merge',
Expand Down
77 changes: 1 addition & 76 deletions src/libs/E2E/apiMocks/signinUser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,82 +36,7 @@ const signinUser = ({email}: SigninParams): Response => ({
{
onyxMethod: 'set',
key: 'betas',
value: [
'all',
'pdfMetaStore',
'reportActionContextMenu',
'submitPolicy',
'attendees',
'autoExport',
'autoExportIntacct',
'autoExportQbo',
'autoExportXero',
'autoJoinPolicy',
'automatedTaxExemption',
'billPay',
'categoryDefaultTax',
'collectableDepositAccounts',
'conciergeTravel',
'connectedCards',
'discrepancy',
'domainContactBilling',
'domainTwoFactorAuth',
'duplicateDetection',
'emailSuppressionBeta',
'expensesV2',
'expensifyCard',
'expensifyCardIntacctReconciliation',
'expensifyCardNetSuiteReconciliation',
'expensifyCardQBOReconciliation',
'expensifyCardRapidIncreaseFraud',
'expensifyCardXeroReconciliation',
'expensifyOrg',
'fixViolationPushNotification',
'freePlan',
'freePlanFullLaunch',
'freePlanSoftLaunch',
'gusto',
'inboxCache',
'inboxHiddenTasks',
'indirectIntegrationSetup',
'IOU',
'joinPolicy',
'loadPolicyAsync',
'mapReceipt',
'mergeAPI',
'mobileRealtimeReportComments',
'mobileSecureReceipts',
'monthlySettlement',
'namesAndAvatars',
'nativeChat',
'newPricing',
'newsletterThree',
'nextSteps',
'openFaceHamburger',
'pdfMetaStore',
'perDiem',
'perDiemInternational',
'pricingCopyChanges',
'qboInvoices',
'quickbooksDesktopV2',
'realtimeReportComments',
's2wAnnouncement',
'scheduledAutoReporting',
'secureReceipts',
'secureReceiptsReports',
'selfServiceHardLaunch',
'sendMoney',
'smartScanUserDisputes',
'smsSignUp',
'stripeConnect',
'submitPolicy',
'summaryEmail',
'swipeToWin',
'taxForMileage',
'twoFactorAuth',
'venmoIntegration',
'zenefitsIntegration',
],
value: ['all'],
},
{
onyxMethod: 'merge',
Expand Down

0 comments on commit 92f799e

Please sign in to comment.