diff --git a/src/jest/mockI18next.ts b/src/jest/mockI18next.ts index d718d2c..71d6bfe 100644 --- a/src/jest/mockI18next.ts +++ b/src/jest/mockI18next.ts @@ -13,7 +13,9 @@ function mockCreateI18nValue (key: string, options?: unknown): string { } if (isInstalled("jest", "i18next")) { + // eslint-disable-next-line @typescript-eslint/no-unsafe-return jest.mock("i18next", () => ({ + ...jest.requireActual("i18next"), async init (): Promise<void> { return undefined; },