Files
fast-next-template/frontend/tests/__mocks__/components-i18n.tsx
Felipe Cardoso 0b192ce030 Update e2e tests and mocks for locale-based routing
- Adjusted assertions and navigation tests to include `/en` locale prefix for consistency.
- Updated next-intl and components-i18n mocks to support locale handling in tests.
- Renamed "Components" link and related references to "Design System" in homepage tests.
- Disabled typing delay in debounce test for improved test reliability.
2025-11-19 01:31:35 +01:00

6 lines
120 B
TypeScript

/**
* Mock for @/components/i18n
*/
export const LocaleSwitcher = () => <div data-testid="locale-switcher">EN</div>;