diff --git a/frontend/web/components/pages/usage/__tests__/utils.test.ts b/frontend/web/components/pages/usage/__tests__/utils.test.ts index 5dc2c2de19a3..37184ecc63c2 100644 --- a/frontend/web/components/pages/usage/__tests__/utils.test.ts +++ b/frontend/web/components/pages/usage/__tests__/utils.test.ts @@ -106,8 +106,8 @@ describe('UsageDashboard utils', () => { expect(basis).toEqual({ reason: 'free', window: 'rolling' }) expect(allowanceWindow(basis)).toBeUndefined() - expect(planSectionCopy(basis, 50000).hint).not.toContain( - 'no billing period', + expect(planSectionCopy(basis, 50000).hint).toBe( + 'Usage against your plan limit over the last 30 days.', ) }) @@ -119,7 +119,7 @@ describe('UsageDashboard utils', () => { expect(basis).toEqual({ reason: 'no-period', window: 'rolling' }) expect(planSectionCopy(basis, 50000).hint).toContain( - 'has no billing period', + 'unable to show exact billing periods', ) }) }) diff --git a/frontend/web/components/pages/usage/utils.ts b/frontend/web/components/pages/usage/utils.ts index d68c72305977..853b90de916c 100644 --- a/frontend/web/components/pages/usage/utils.ts +++ b/frontend/web/components/pages/usage/utils.ts @@ -46,7 +46,7 @@ export const planSectionCopy = ( return { hint: `Usage against your plan limit over ${allowanceWindowLabel( basis, - )}. This organisation has no billing period.`, + )}. We are unable to show exact billing periods for your subscription plan.`, title: 'Your plan', } }