huridocs/uwazi

View on GitHub
app/react/SemanticSearch/components/specs/ResultsSidePanel.spec.js

Summary

Maintainability
A
0 mins
Test Coverage
import React from 'react';

import { shallow } from 'enzyme';
import { ResultsSidePanel } from '../ResultsSidePanel';

describe('DocumentResults', () => {
  let component;
  beforeEach(() => {
    component = shallow(<ResultsSidePanel />);
  });

  describe('render', () => {
    it('should render results filters panel and document side panel', () => {
      expect(component).toMatchSnapshot();
    });
  });
});