Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@doodle/components / controls / CustomSelect / __snapshots__ / CustomSelect.spec.js.snap
Size: Mime:
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`CustomSelect should match a snapshot 1`] = `
<div
  className="CustomSelect"
>
  <InputLabel>
    Select country
  </InputLabel>
  <e
    caretIcon={
      <Icon
        className="rrs-caretIcon"
        dimension={null}
        icon={[Function]}
        semantic={null}
        width="22px"
      />
    }
    disabled={false}
    name="test name"
    noSelectionLabel=""
    options={
      Array [
        Object {
          "text": "Description",
          "value": "descr",
        },
      ]
    }
    prefix=""
    selectedValue=""
  />
  
</div>
`;

exports[`CustomSelect should match a snapshot when its not valid 1`] = `
<div
  className="CustomSelect CustomSelect--invalid"
>
  <InputLabel>
    Select country
  </InputLabel>
  <e
    caretIcon={
      <Icon
        className="rrs-caretIcon"
        dimension={null}
        icon={[Function]}
        semantic={null}
        width="22px"
      />
    }
    disabled={false}
    name="test name"
    noSelectionLabel=""
    options={
      Array [
        Object {
          "text": "Description",
          "value": "descr",
        },
      ]
    }
    prefix=""
    selectedValue=""
  />
  <InputFeedback
    type="error"
  >
    Not selected
  </InputFeedback>
  
</div>
`;

exports[`CustomSelect should match a snapshot when there is a note 1`] = `
<div
  className="CustomSelect"
>
  <InputLabel>
    Select country
  </InputLabel>
  <e
    caretIcon={
      <Icon
        className="rrs-caretIcon"
        dimension={null}
        icon={[Function]}
        semantic={null}
        width="22px"
      />
    }
    disabled={false}
    name="test name"
    noSelectionLabel=""
    options={
      Array [
        Object {
          "text": "Description",
          "value": "descr",
        },
      ]
    }
    prefix=""
    selectedValue=""
  />
  <InputFeedback
    type="note"
  >
    Some note
  </InputFeedback>
</div>
`;