diff --git a/scm-ui/ui-tests/i18n.ts b/scm-ui/ui-tests/i18n.ts index ce71069f0f..2588bc6d9b 100644 --- a/scm-ui/ui-tests/i18n.ts +++ b/scm-ui/ui-tests/i18n.ts @@ -30,5 +30,10 @@ jest.mock("react-i18next", () => ({ t: (key: string) => key }; return Component; + }, + useTranslation: (ns: string) => { + return [ + (key: string) => key + ]; } }));