Skip to content

Commit

Permalink
Import ThemeProvider from mui instead of emotion
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethnym committed Aug 1, 2022
1 parent a81fe87 commit 2111aa4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/routing/routing.component.test.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import React from 'react';
import Routing, { PluginPlaceHolder } from './routing.component';
import { mount, shallow } from 'enzyme';
import configureStore from 'redux-mock-store';
import { StateType } from '../state/state.types';
import { authState, initialState } from '../state/reducers/scigateway.reducer';
import { createLocation } from 'history';
import { MemoryRouter } from 'react-router-dom';
import { Provider } from 'react-redux';
import TestAuthProvider from '../authentication/testAuthProvider';
import * as singleSpa from 'single-spa';
import { ThemeProvider } from '@emotion/react';
import { ThemeProvider } from '@mui/material';
import Routing, { PluginPlaceHolder } from './routing.component';
import TestAuthProvider from '../authentication/testAuthProvider';
import { StateType } from '../state/state.types';
import { authState, initialState } from '../state/reducers/scigateway.reducer';
import { buildTheme } from '../theming';

jest.mock('../adminPage/adminPage.component', () => () => 'Mocked AdminPage');
Expand Down

0 comments on commit 2111aa4

Please sign in to comment.