Skip to content
Snippets Groups Projects
Commit 1b883ec4 authored by Glenn Fischer's avatar Glenn Fischer
Browse files

#2114: fixes test

parent 43f43f6c
No related branches found
No related tags found
No related merge requests found
import React from 'react'; import React from 'react';
import { shallow } from 'enzyme'; import { shallow } from 'enzyme';
import Typography from '@material-ui/core/Typography';
import { WindowCanvasNavigationControls } from '../../../src/components/WindowCanvasNavigationControls'; import { WindowCanvasNavigationControls } from '../../../src/components/WindowCanvasNavigationControls';
import ViewerInfo from '../../../src/containers/ViewerInfo';
import ViewerNavigation from '../../../src/containers/ViewerNavigation'; import ViewerNavigation from '../../../src/containers/ViewerNavigation';
import ZoomControls from '../../../src/containers/ZoomControls'; import ZoomControls from '../../../src/containers/ZoomControls';
...@@ -26,7 +26,7 @@ describe('WindowCanvasNavigationControls', () => { ...@@ -26,7 +26,7 @@ describe('WindowCanvasNavigationControls', () => {
<div> <div>
<ZoomControls /> <ZoomControls />
<ViewerNavigation /> <ViewerNavigation />
<Typography>label</Typography> <ViewerInfo />
</div>, </div>,
)).toBe(true); )).toBe(true);
}); });
......
...@@ -7,7 +7,6 @@ import WindowCanvasNavigationControls from '../../../src/containers/WindowCanvas ...@@ -7,7 +7,6 @@ import WindowCanvasNavigationControls from '../../../src/containers/WindowCanvas
import fixture from '../../fixtures/version-2/019.json'; import fixture from '../../fixtures/version-2/019.json';
import emptyCanvasFixture from '../../fixtures/version-2/emptyCanvas.json'; import emptyCanvasFixture from '../../fixtures/version-2/emptyCanvas.json';
import otherContentFixture from '../../fixtures/version-2/299843.json'; import otherContentFixture from '../../fixtures/version-2/299843.json';
import ViewerInfo from '../../../src/containers/ViewerInfo';
let mockManifest = { let mockManifest = {
id: 123, id: 123,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment