Skip to content

Commit

Permalink
Plans (state): Remove getPlanDiscountedRawPrice, getSitePlanRawPrice,…
Browse files Browse the repository at this point in the history
… and isSitePlanDiscounted from Calypso state (#95278)
  • Loading branch information
chriskmnds authored Oct 18, 2024
1 parent 3cee951 commit c10ac6c
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 363 deletions.
4 changes: 0 additions & 4 deletions client/state/products-list/test/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ jest.mock( 'calypso/state/products-list/selectors/get-product-price-tiers', () =
getProductPriceTierList: jest.fn( () => null ),
} ) );

jest.mock( 'calypso/state/sites/plans/selectors', () => ( {
getPlanDiscountedRawPrice: jest.fn(),
} ) );

jest.mock( '@automattic/calypso-products', () => ( {
...jest.requireActual( '@automattic/calypso-products' ),
applyTestFiltersToPlansList: jest.fn( ( x ) => x ),
Expand Down

This file was deleted.

40 changes: 0 additions & 40 deletions client/state/sites/plans/selectors/get-site-plan-raw-price.ts

This file was deleted.

3 changes: 0 additions & 3 deletions client/state/sites/plans/selectors/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
export { getCurrentPlan } from './get-current-plan';
export { getPlanDiscountedRawPrice } from './get-plan-discounted-raw-price';
export { getPlansBySite, getPlansBySiteId } from './get-plans-by-site';
export { getSitePlan } from './get-site-plan';
export { getSitePlanRawPrice } from './get-site-plan-raw-price';
export { getSitePlanSlug } from './get-site-plan-slug';
export { hasDomainCredit } from './has-domain-credit';
export { isCurrentPlanExpiring } from './is-current-plan-expiring';
Expand All @@ -11,7 +9,6 @@ export { default as isPlanAvailableForPurchase } from './is-plan-available-for-p
export { isRequestingSitePlans, hasLoadedSitePlansFromServer } from './is-requesting-site-plans';
export { default as isSiteOnMigrationTrial } from './trials/is-site-on-migration-trial';
export { default as isSiteOnWooExpress } from './is-site-on-woo-express';
export { isSitePlanDiscounted } from './is-site-plan-discounted';
export { default as getECommerceTrialDaysLeft } from './trials/get-ecommerce-trial-days-left';
export { default as getECommerceTrialExpiration } from './trials/get-ecommerce-trial-expiration';
export { default as getMigrationTrialDaysLeft } from './trials/get-migration-trial-days-left';
Expand Down
19 changes: 0 additions & 19 deletions client/state/sites/plans/selectors/is-site-plan-discounted.js

This file was deleted.

Loading

0 comments on commit c10ac6c

Please sign in to comment.