GSA/code-gov-front-end

View on GitHub
src/components/sort-section/__snapshots__/sort-section.component.test.js.snap

Summary

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

exports[`components - SortSection render should render correctly 1`] = `
<div
  className="grid-row"
>
  <h2
    aria-hidden="true"
    className="margin-top-4"
  >
    Sort by
  </h2>
  <form
    className="usa-form"
  >
    <label
      className="usa-label usa-sr-only"
      htmlFor="sort-options"
    >
      Sort by
    </label>
    <select
      className="usa-select margin-left-1 radius-md"
      id="sort-options"
      onChange={[Function]}
      value="opt-2"
    >
      <option
        key="opt-1"
        value="opt-1"
      >
        label-1
      </option>
      <option
        key="opt-2"
        value="opt-2"
      >
        label-2
      </option>
    </select>
  </form>
</div>
`;