Skip to content
Snippets Groups Projects
Verified Commit f4d922bb authored by Loïs Poujade's avatar Loïs Poujade
Browse files

upgraded material ui

parent 95529aee
Branches
No related tags found
No related merge requests found
Pipeline #1194 passed
import { withStyles } from '@material-ui/core';
import { alpha } from '@material-ui/core/styles/colorManipulator';
import ClosedCaption from '@material-ui/icons/ClosedCaption';
import Skeleton from '@material-ui/lab/Skeleton';
import { withStyles } from '@mui/material';
import ClosedCaption from '@mui/icons-material/ClosedCaption';
import Skeleton from '@mui/lab/Skeleton';
describe('Open example', () => {
......
Source diff could not be displayed: it is too large. Options to address this: view the blob.
......@@ -3,7 +3,7 @@
import { JSDOM } from 'jsdom'; // eslint-disable-line import/no-extraneous-dependencies
import fetch from 'jest-fetch-mock'; // eslint-disable-line import/no-extraneous-dependencies
import Enzyme from 'enzyme'; // eslint-disable-line import/no-extraneous-dependencies
import Adapter from 'enzyme-adapter-react-16'; // eslint-disable-line import/no-extraneous-dependencies
// import Adapter from 'enzyme-adapter-react-16'; // eslint-disable-line import/no-extraneous-dependencies
const jsdom = new JSDOM('<!doctype html><html><body><div id="main"></div></body></html>', { url: 'https://localhost' });
const { window } = jsdom;
......@@ -55,7 +55,8 @@ const copyProps = (src, target) => {
*/
copyProps(window, global);
Enzyme.configure({ adapter: new Adapter() });
// Enzyme.configure({ adapter: new Adapter() });
// Enzyme.configure();
jest.mock('react-i18next', () => ({
// this mock makes sure any components using the translate HoC receive the t function as a prop
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment