Skip to content

Commit

Permalink
fix theme type
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdopuch committed Jan 1, 2019
1 parent 3ec485e commit 7bdf319
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/App.test.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { Theme } from '@material-ui/core';
import { shallow } from 'enzyme';
import React from 'react';
import { App, Projects } from './App';

const appTheme = {
const appTheme = ({
breakpoints: {
up: jest.fn(),
},
Expand All @@ -15,7 +16,7 @@ const appTheme = {
zIndex: {
drawer: 1,
},
};
} as unknown) as Theme;

function getDefaultProps() {
return {
Expand Down

0 comments on commit 7bdf319

Please sign in to comment.