Sha256: b81709027ff24e732cb14b9a8907f45b29eac436f062c1b6e7d188bfc3ed4202

Contents?: true

Size: 1.5 KB

Versions: 18

Compression:

Stored size: 1.5 KB

Contents

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

exports[`InsightsTab actions should fetchHits 1`] = `
Array [
  Array [
    Object {
      "payload": Object {},
      "type": "INSIGHTS_HITS_REQUEST",
    },
  ],
  Array [
    Object {
      "payload": Object {
        "hits": Array [
          Object {
            "insights_hit": Object {
              "hostname": "my-host.example.com",
              "last_seen": "2020-08-19T04:43:09.068706Z",
              "likelihood": 2,
              "publish_date": "2018-04-16T10:03:16Z",
              "results_url": "https://cloud.redhat.com/insights/advisor/recommendations/ansible_deprecated_repo%7CANSIBLE_DEPRECATED_REPO/4739b323-a343-4e89-b71b-81991b8dc656/",
              "rhel_version": "7.8",
              "solution_url": "https://access.redhat.com/node/3359651",
              "title": "New Ansible Engine packages are inaccessible when dedicated Ansible repo is not enabled",
              "total_risk": 2,
              "uuid": "4739b323-a343-4e89-b71b-81991b8dc656",
            },
          },
        ],
      },
      "type": "INSIGHTS_HITS_SUCCESS",
    },
  ],
]
`;

exports[`InsightsTab actions should fetchHits with error 1`] = `
Array [
  Array [
    Object {
      "payload": Object {},
      "type": "INSIGHTS_HITS_REQUEST",
    },
  ],
  Array [
    Object {
      "payload": Object {
        "message": Object {
          "message": "Network error!",
          "sticky": true,
          "type": "error",
        },
      },
      "type": "TOASTS_ADD",
    },
  ],
]
`;

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
foreman_rh_cloud-2.0.18.1 webpack/InsightsHostDetailsTab/__tests__/__snapshots__/InsightsTabActions.test.js.snap
foreman_rh_cloud-1.0.18 webpack/InsightsHostDetailsTab/__tests__/__snapshots__/InsightsTabActions.test.js.snap
foreman_rh_cloud-2.0.18 webpack/InsightsHostDetailsTab/__tests__/__snapshots__/InsightsTabActions.test.js.snap
foreman_rh_cloud-1.0.17 webpack/InsightsHostDetailsTab/__tests__/__snapshots__/InsightsTabActions.test.js.snap
foreman_rh_cloud-2.0.17 webpack/InsightsHostDetailsTab/__tests__/__snapshots__/InsightsTabActions.test.js.snap
foreman_rh_cloud-2.0.16 webpack/InsightsHostDetailsTab/__tests__/__snapshots__/InsightsTabActions.test.js.snap
foreman_rh_cloud-1.0.16 webpack/InsightsHostDetailsTab/__tests__/__snapshots__/InsightsTabActions.test.js.snap
foreman_rh_cloud-1.0.15 webpack/InsightsHostDetailsTab/__tests__/__snapshots__/InsightsTabActions.test.js.snap
foreman_rh_cloud-2.0.15 webpack/InsightsHostDetailsTab/__tests__/__snapshots__/InsightsTabActions.test.js.snap
foreman_rh_cloud-2.0.14 webpack/InsightsHostDetailsTab/__tests__/__snapshots__/InsightsTabActions.test.js.snap
foreman_rh_cloud-1.0.14 webpack/InsightsHostDetailsTab/__tests__/__snapshots__/InsightsTabActions.test.js.snap
foreman_rh_cloud-0.9.14 webpack/InsightsHostDetailsTab/__tests__/__snapshots__/InsightsTabActions.test.js.snap
foreman_rh_cloud-0.9.13.1 webpack/InsightsHostDetailsTab/__tests__/__snapshots__/InsightsTabActions.test.js.snap
foreman_rh_cloud-1.0.13.1 webpack/InsightsHostDetailsTab/__tests__/__snapshots__/InsightsTabActions.test.js.snap
foreman_rh_cloud-2.0.13.1 webpack/InsightsHostDetailsTab/__tests__/__snapshots__/InsightsTabActions.test.js.snap
foreman_rh_cloud-0.9.13 webpack/InsightsHostDetailsTab/__tests__/__snapshots__/InsightsTabActions.test.js.snap
foreman_rh_cloud-1.0.13 webpack/InsightsHostDetailsTab/__tests__/__snapshots__/InsightsTabActions.test.js.snap
foreman_rh_cloud-2.0.13 webpack/InsightsHostDetailsTab/__tests__/__snapshots__/InsightsTabActions.test.js.snap