Skip to content
Snippets Groups Projects
Commit c8b14b8b authored by Chris's avatar Chris
Browse files

Mock jest setup.

parent aa4b500b
No related branches found
No related tags found
No related merge requests found
import "@testing-library/jest-dom/extend-expect";
// Mock if needed, seems not so at this time.
// import i18next from 'i18next';
// import { initReactI18next } from 'react-i18next';
// import config from './src/__mocks__/config.json';
// i18next.use(initReactI18next).init({
// resources: config.localisations,
// lng: "en",
// interpolation: {
// escapeValue: false,
// },
// });
import i18next from 'i18next';
import { initReactI18next } from 'react-i18next';
import config from './src/__mocks__/config.json';
i18next.use(initReactI18next).init({
resources: config.localisations,
lng: "en",
interpolation: {
escapeValue: false,
},
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment