Skip to content
Snippets Groups Projects
Select Git revision
  • e7ba59a9ab3d0f19a08056b8be06e95ebb7bcd23
  • annotation-on-video default protected
  • demo_ci
  • 3-upstream-01022023
  • master
  • gh3538-captions
  • 16-adapt-for-images-annot
  • 15-api-for-annotations-on-video
  • 15-annotations-on-videos
  • video_for_annotations
  • wip-1-annotations-on-videos
  • 9-videoviewer-tests
  • 9_wip_videotests
  • 6-fix-tests-and-ci
  • _fix_ci
  • wip-webpack-from-git
16 results

add.test.js

Blame
  • 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);
      });
    });