fix payment customer and dashboard settings
Build & Deploy / Build & Push Docker Image (push) Successful in 12m39s
Test / Type Check (all packages) (push) Successful in 5m8s
Build & Deploy / Deploy to VPS (push) Successful in 7s
Test / API Unit Tests (push) Failing after 4m24s
Test / Homepage Unit Tests (push) Successful in 3m27s
Test / Storefront Unit Tests (push) Successful in 4m48s
Test / Admin Unit Tests (push) Successful in 3m0s
Test / Dashboard Unit Tests (push) Successful in 4m18s
Test / API Integration Tests (push) Failing after 4m34s

This commit is contained in:
root
2026-06-29 22:15:34 -04:00
parent e1e2f55c93
commit a752a399c2
30 changed files with 4503 additions and 1214 deletions
@@ -6,6 +6,7 @@ import {
localeSwitchUrl,
localizedPath,
routeById,
routeIdFromAnyLocaleSlug,
routeIdFromPathname,
routeIdFromSlug,
} from '@/lib/localization/config';
@@ -30,6 +31,10 @@ describe('localization foundations', () => {
expect(localizedPath('privacy', 'fr')).toBe('/fr/confidentialite');
expect(localizedPath('sign-in', 'ar')).toBe('/ar/تسجيل-الدخول');
expect(routeIdFromSlug('fr', 'confidentialite')).toBe('privacy');
expect(routeIdFromSlug('fr', 'privacy')).toBeNull();
expect(routeIdFromAnyLocaleSlug('privacy')).toBe('privacy');
expect(routeIdFromAnyLocaleSlug('confidentialite')).toBe('privacy');
expect(routeIdFromAnyLocaleSlug('unknown')).toBeNull();
expect(routeIdFromPathname('/ar/%D8%A7%D9%84%D8%AE%D8%B5%D9%88%D8%B5%D9%8A%D8%A9')).toBe(
'privacy',
);