huridocs/uwazi

View on GitHub
app/react/SemanticSearch/components/specs/__snapshots__/SemanticSearchPanel.spec.js.snap

Summary

Maintainability
Test Coverage
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`SemanticSearchPanel should render SearchList with searches from the state 1`] = `
<SidePanel
  className="metadata-sidepanel semantic-search"
  mode=""
  open={true}
>
  <div
    className="sidepanel-header"
  >
    <button
      className="closeSidepanel close-modal"
      onClick={[Function]}
      type="button"
    >
      <Connect(Icon)
        icon="times"
      />
    </button>
  </div>
  <div
    className="sidepanel-body"
  >
    <ShowIf
      if={true}
    >
      <Connect(SearchListComponent)
        searches={
          Array [
            Object {
              "searchTerm": "search1",
            },
            Object {
              "searchTerm": "search2",
            },
          ]
        }
      />
    </ShowIf>
  </div>
</SidePanel>
`;