You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(billing): billing store tests fail — config.api.endPoints.billing is undefined in test env #3738
Billing store unit tests fail because config.api.endPoints.billing resolves to undefined at test time, producing URLs like http://localhost:3000/api/undefined/subscription instead of http://localhost:3000/api/billing/subscription.
Failing tests (3):
fetchSubscription > should call correct API endpoint
createCheckout > should send correct payload with priceId and redirect URLs
fetchPlans > should call correct API endpoint (similar pattern)
Activity
PierreBrisorgueil commentedon Mar 18, 2026
Already fixed on master — the billing endpoint config was added in #3733. All 655 tests pass including billing store tests.