diff --git a/__tests__/src/components/WindowCanvasNavigationControls.test.js b/__tests__/src/components/WindowCanvasNavigationControls.test.js index 64394bd2e840e8e8692104d69ef077fddfb332dd..8f2953f0cbea64f0e1452d25ecfbc769a433cef1 100644 --- a/__tests__/src/components/WindowCanvasNavigationControls.test.js +++ b/__tests__/src/components/WindowCanvasNavigationControls.test.js @@ -1,7 +1,7 @@ import React from 'react'; import { shallow } from 'enzyme'; -import Typography from '@material-ui/core/Typography'; import { WindowCanvasNavigationControls } from '../../../src/components/WindowCanvasNavigationControls'; +import ViewerInfo from '../../../src/containers/ViewerInfo'; import ViewerNavigation from '../../../src/containers/ViewerNavigation'; import ZoomControls from '../../../src/containers/ZoomControls'; @@ -26,7 +26,7 @@ describe('WindowCanvasNavigationControls', () => { <div> <ZoomControls /> <ViewerNavigation /> - <Typography>label</Typography> + <ViewerInfo /> </div>, )).toBe(true); }); diff --git a/__tests__/src/components/WindowViewer.test.js b/__tests__/src/components/WindowViewer.test.js index 1b2109690b82a100e4b226f16e4e07018f736f07..19054e8b1c3b7e7de374770791769325f9eb2125 100644 --- a/__tests__/src/components/WindowViewer.test.js +++ b/__tests__/src/components/WindowViewer.test.js @@ -7,7 +7,6 @@ import WindowCanvasNavigationControls from '../../../src/containers/WindowCanvas import fixture from '../../fixtures/version-2/019.json'; import emptyCanvasFixture from '../../fixtures/version-2/emptyCanvas.json'; import otherContentFixture from '../../fixtures/version-2/299843.json'; -import ViewerInfo from '../../../src/containers/ViewerInfo'; let mockManifest = { id: 123,