MetaPhase-Consulting/State-TalentMAP

View on GitHub
src/Components/IconAlert/__snapshots__/IconAlert.test.jsx.snap

Summary

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

exports[`IconAlertComponent matches snapshot 1`] = `
<div
  className="icon-alert-container  "
>
  <Link
    replace={false}
    role="button"
    title="title"
    to="/profile/"
  >
    <div>
      <div
        className="alert-icon"
      />
      <span
        className="usa-sr-only"
      >
        text
      </span>
      <FontAwesome
        name="message-o"
      />
      <span
        className="alert-icon-badge"
      >
        4
      </span>
    </div>
  </Link>
</div>
`;

exports[`IconAlertComponent matches snapshot when number = 0 1`] = `
<div
  className="icon-alert-container  "
>
  <Link
    replace={false}
    role="button"
    title="title"
    to="/profile/"
  >
    <div>
      <div
        className="alert-icon"
      />
      <span
        className="usa-sr-only"
      >
        text
      </span>
      <FontAwesome
        name="message-o"
      />
    </div>
  </Link>
</div>
`;

exports[`IconAlertComponent matches snapshot with a number greater than the limit 1`] = `
<div
  className="icon-alert-container  "
>
  <Link
    replace={false}
    role="button"
    title="title"
    to="/profile/"
  >
    <div>
      <div
        className="alert-icon"
      />
      <span
        className="usa-sr-only"
      >
        text
      </span>
      <FontAwesome
        name="message-o"
      />
      <span
        className="alert-icon-badge"
      >
        5+
      </span>
    </div>
  </Link>
</div>
`;