dry-wash-pl/__mocks__/react-i18next.ts
RustamRu 7736592830
All checks were successful
it-academy/dry-wash-pl/pipeline/head This commit looks good
fix: e2e tests
2025-02-09 11:02:27 +03:00

10 lines
191 B
TypeScript

import localeRu from '../locales/ru.json';
module.exports = {
useTranslation: (_, { keyPrefix }) => {
return {
t: (key: string) => localeRu[`${keyPrefix}.${key}`],
};
}
};