UNPKG

ca-mfe-page-scoring-ui

Version:

This is a react shell for the SPGI Platform MFE implementation

13 lines (11 loc) 311 B
jest.mock('react-i18next', () => ({ // this mock makes sure any components using the translate hook can use it without a warning being shown useTranslation: () => { return { t: (str) => str, i18n: { changeLanguage: () => new Promise(() => {}), }, }; }, }));