From 1b883ec48c0d551b6cd7be71c1a5dbaca17a0b1b Mon Sep 17 00:00:00 2001 From: Glenn Fischer <gfischer@ub.uni-leipzig.de> Date: Thu, 14 Mar 2019 10:22:17 +0100 Subject: [PATCH] #2114: fixes test --- .../src/components/WindowCanvasNavigationControls.test.js | 4 ++-- __tests__/src/components/WindowViewer.test.js | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/__tests__/src/components/WindowCanvasNavigationControls.test.js b/__tests__/src/components/WindowCanvasNavigationControls.test.js index 64394bd2e..8f2953f0c 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 1b2109690..19054e8b1 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, -- GitLab