huridocs/uwazi

View on GitHub
app/react/Layout/specs/__snapshots__/ConfirmModal.spec.js.snap

Summary

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

exports[`ConfirmModal should render a confirm modal 1`] = `
<Modal
  className=""
  isOpen={true}
  type="danger"
  zIndex={100}
>
  <Body>
    <h4>
      <Connect(Translate)>
        Confirm action
      </Connect(Translate)>
    </h4>
    <p>
      <Connect(Translate)>
        Are you sure you want to continue?
      </Connect(Translate)>
    </p>
  </Body>
  <Footer>
    <button
      className="btn btn-default cancel-button"
      onClick={[Function]}
      type="button"
    >
      <Connect(Translate)>
        Cancel
      </Connect(Translate)>
    </button>
    <button
      className="btn confirm-button btn-danger"
      onClick={[Function]}
      type="button"
    >
      <Connect(Translate)>
        Accept
      </Connect(Translate)>
    </button>
  </Footer>
</Modal>
`;