// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`SummaryMap RoundSelect can be selected 1`] = `
<div
  className="tabs"
>
  <div
    className="tab "
    key="1"
    onClick={[Function]}
    onKeyDown={[Function]}
    role="button"
    tabIndex="0"
    title="test-country"
  >
    1
     - 
  </div>
  <div
    className="tab tab--active"
    key="2"
    onClick={[Function]}
    onKeyDown={[Function]}
    role="button"
    tabIndex="0"
    title="test-country"
  >
    2
     - 
  </div>
  <div
    className="tab "
    key="3"
    onClick={[Function]}
    onKeyDown={[Function]}
    role="button"
    tabIndex="0"
    title="test-country"
  >
    3
     - 
  </div>
  <div
    className="tab"
    onClick={[Function]}
    onKeyDown={[Function]}
    role="button"
    tabIndex="0"
  >
    X
  </div>
</div>
`;

exports[`SummaryMap RoundSelect renders 1`] = `
<div
  className="tabs"
>
  <div
    className="tab "
    key="1"
    onClick={[Function]}
    onKeyDown={[Function]}
    role="button"
    tabIndex="0"
    title="test-country"
  >
    1
     - 
  </div>
  <div
    className="tab "
    key="2"
    onClick={[Function]}
    onKeyDown={[Function]}
    role="button"
    tabIndex="0"
    title="test-country"
  >
    2
     - 
  </div>
  <div
    className="tab "
    key="3"
    onClick={[Function]}
    onKeyDown={[Function]}
    role="button"
    tabIndex="0"
    title="test-country"
  >
    3
     - 
  </div>
  <div
    className="tab"
    onClick={[Function]}
    onKeyDown={[Function]}
    role="button"
    tabIndex="0"
  >
    X
  </div>
</div>
`;

exports[`SummaryMap handles having the round changed 1`] = `
[MockFunction] {
  "calls": Array [
    Array [
      Object {
        "lat": 3,
        "lng": 4,
      },
    ],
  ],
  "results": Array [
    Object {
      "type": "return",
      "value": undefined,
    },
  ],
}
`;

exports[`SummaryMap handles having the round changed 2`] = `
<div
  className="container"
>
  <div
    className="map"
  />
  <RoundSelect
    coords={
      Object {
        "1": Object {
          "lat": 1,
          "lng": 2,
        },
        "2": Object {
          "lat": 3,
          "lng": 4,
        },
        "3": Object {
          "lat": 5,
          "lng": 6,
        },
      }
    }
    onSelect={[Function]}
    rounds={3}
    selected={2}
  />
</div>
`;

exports[`SummaryMap handles invalid round change 1`] = `
[MockFunction] {
  "calls": Array [
    Array [
      Object {
        "lat": 0,
        "lng": 0,
      },
    ],
  ],
  "results": Array [
    Object {
      "type": "return",
      "value": undefined,
    },
  ],
}
`;

exports[`SummaryMap handles invalid round change 2`] = `
<div
  className="container"
>
  <div
    className="map"
  />
  <RoundSelect
    coords={
      Object {
        "1": Object {
          "lat": 1,
          "lng": 2,
        },
        "2": Object {
          "lat": 3,
          "lng": 4,
        },
        "3": Object {
          "lat": 5,
          "lng": 6,
        },
      }
    }
    onSelect={[Function]}
    rounds={3}
    selected={5}
  />
</div>
`;

exports[`SummaryMap renders 1`] = `
<div
  className="container"
>
  <div
    className="map"
  />
  <RoundSelect
    coords={
      Object {
        "1": Object {},
        "2": Object {},
        "3": Object {},
      }
    }
    onSelect={[Function]}
    rounds={3}
    selected="0"
  />
</div>
`;

exports[`SummaryMap renders without selector if single round 1`] = `
<div
  className="container"
>
  <div
    className="map"
  />
  <Component />
</div>
`;
