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

exports[`vulnerable projects module getters severityGroups takes an array of projects containing vulnerability data and groups them by severity level 1`] = `
Array [
  Object {
    "description": "Projects with critical vulnerabilities",
    "projects": Array [
      Object {
        "criticalVulnerabilityCount": 1,
        "fullName": "full_name",
        "fullPath": "full_path",
        "highVulnerabilityCount": 0,
        "id": "id",
        "lowVulnerabilityCount": 0,
        "mediumVulnerabilityCount": 0,
        "mostSevereVulnerability": Object {
          "count": 1,
          "level": "critical",
        },
        "unknownVulnerabilityCount": 0,
      },
    ],
    "severityLevels": Array [
      "critical",
    ],
    "type": "F",
    "warning": "Critical vulnerabilities present",
  },
  Object {
    "description": "Projects with high or unknown vulnerabilities",
    "projects": Array [
      Object {
        "criticalVulnerabilityCount": 0,
        "fullName": "full_name",
        "fullPath": "full_path",
        "highVulnerabilityCount": 1,
        "id": "id",
        "lowVulnerabilityCount": 0,
        "mediumVulnerabilityCount": 0,
        "mostSevereVulnerability": Object {
          "count": 1,
          "level": "high",
        },
        "unknownVulnerabilityCount": 0,
      },
      Object {
        "criticalVulnerabilityCount": 0,
        "fullName": "full_name",
        "fullPath": "full_path",
        "highVulnerabilityCount": 0,
        "id": "id",
        "lowVulnerabilityCount": 0,
        "mediumVulnerabilityCount": 0,
        "mostSevereVulnerability": Object {
          "count": 1,
          "level": "unknown",
        },
        "unknownVulnerabilityCount": 1,
      },
    ],
    "severityLevels": Array [
      "high",
      "unknown",
    ],
    "type": "D",
    "warning": "High or unknown vulnerabilities present",
  },
  Object {
    "description": "Projects with medium vulnerabilities",
    "projects": Array [
      Object {
        "criticalVulnerabilityCount": 0,
        "fullName": "full_name",
        "fullPath": "full_path",
        "highVulnerabilityCount": 0,
        "id": "id",
        "lowVulnerabilityCount": 0,
        "mediumVulnerabilityCount": 1,
        "mostSevereVulnerability": Object {
          "count": 1,
          "level": "medium",
        },
        "unknownVulnerabilityCount": 0,
      },
    ],
    "severityLevels": Array [
      "medium",
    ],
    "type": "C",
    "warning": "Medium vulnerabilities present",
  },
  Object {
    "description": "Projects with low vulnerabilities",
    "projects": Array [
      Object {
        "criticalVulnerabilityCount": 0,
        "fullName": "full_name",
        "fullPath": "full_path",
        "highVulnerabilityCount": 0,
        "id": "id",
        "lowVulnerabilityCount": 1,
        "mediumVulnerabilityCount": 0,
        "mostSevereVulnerability": Object {
          "count": 1,
          "level": "low",
        },
        "unknownVulnerabilityCount": 0,
      },
    ],
    "severityLevels": Array [
      "low",
    ],
    "type": "B",
    "warning": "Low vulnerabilities present",
  },
  Object {
    "description": "Projects with no vulnerabilities and security scanning enabled",
    "projects": Array [
      Object {
        "criticalVulnerabilityCount": 0,
        "fullName": "full_name",
        "fullPath": "full_path",
        "highVulnerabilityCount": 0,
        "id": "id",
        "lowVulnerabilityCount": 0,
        "mediumVulnerabilityCount": 0,
        "mostSevereVulnerability": Object {
          "count": null,
          "level": "none",
        },
        "unknownVulnerabilityCount": 0,
      },
    ],
    "severityLevels": Array [
      "none",
    ],
    "type": "A",
    "warning": "No vulnerabilities present",
  },
]
`;
