Skip to content
Snippets Groups Projects
Select Git revision
  • 5f6f83c4a918bceab6568e9ae048f15c9b008355
  • demo_ci_gitlab_pages default
  • demo_gitlab_ci
  • 5-images-in-annotations
  • 5-final-images
  • 5-chpk-images-in-annot
  • tetras-main protected
  • 5-rebase-images-in-annot
  • 5-wip-images-in-annot
  • tmp
  • 1-edit-annotations-on-videos
  • 5-old-images-in-annotations
  • old_demo_ci_gitlab_pages
  • images_annotations
  • wip
  • devsetup
  • wip-annot-video-ui
  • wip-annotations-on-videos
  • master
  • v0.4.0_react16
  • wip-debugging-annotations
21 results

AnnotationDrawing.js

Blame
  • Forked from IIIF / Mirador / Mirador annotations
    Source project has a limited visibility.
    WindowSideBar.test.js 456 B
    import React from 'react';
    import { shallow } from 'enzyme';
    import WindowSideBar from '../../../src/components/WindowSideBar';
    
    describe('WindowSideBar', () => {
      let wrapper;
      beforeEach(() => {
        wrapper = shallow(<WindowSideBar windowId="1" classes={{}} />).dive();
      });
    
      it('renders without an error', () => {
        expect(wrapper.find('WithStyles(Drawer)').length).toBe(2);
        expect(wrapper.find('WithStyles(List)').length).toBe(1);
      });
    });