Skip to content

Commit

Permalink
Update "Limited time offer" to "Special offer" (#95522)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldcain authored Oct 22, 2024
1 parent 26302e5 commit e7824ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const HeaderPrice = ( { planSlug, visibleGridPlans }: HeaderPriceProps ) => {
<div className="plans-grid-next-header-price">
{ ! current && (
<div className="plans-grid-next-header-price__badge">
{ translate( 'Limited Time Offer' ) }
{ translate( 'Special Offer' ) }
</div>
) }
<div
Expand Down
4 changes: 2 additions & 2 deletions packages/plans-grid-next/src/components/test/header-price.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ describe( 'HeaderPrice', () => {
expect( container ).toBeEmptyDOMElement();
} );

test( 'should display "Limited Time Offer" badge when intro offer exists and offer is not complete', () => {
test( 'should display "Special Offer" badge when intro offer exists and offer is not complete', () => {
const pricing = {
currencyCode: 'USD',
originalPrice: { full: 120, monthly: 10 },
Expand All @@ -137,7 +137,7 @@ describe( 'HeaderPrice', () => {
const { container } = render( <HeaderPrice { ...defaultProps } /> );
const badge = container.querySelector( '.plans-grid-next-header-price__badge' );

expect( badge ).toHaveTextContent( 'Limited Time Offer' );
expect( badge ).toHaveTextContent( 'Special Offer' );
} );

test( 'should display "One time discount" badge when there is a monthly discounted price', () => {
Expand Down

0 comments on commit e7824ef

Please sign in to comment.