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

Mock jest setup.

parent 3e24414d
No related branches found
No related tags found
1 merge request!7Resolve "Create "urgent request" component"
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