0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/packages/console/jest.setup.ts

10 lines
294 B
TypeScript
Raw Permalink Normal View History

import i18next from 'i18next';
import { initReactI18next } from 'react-i18next';
void i18next.use(initReactI18next).init({
// Simple resources for testing
resources: { en: { translation: { admin_console: { general: { add: 'Add' } } } } },
lng: 'en',
react: { useSuspense: false },
});