Sha256: 44055131333b688a6f8049f2933bc7ee57214f0846169db028b64a09efa2c33e

Contents?: true

Size: 1.29 KB

Versions: 102

Compression:

Stored size: 1.29 KB

Contents

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

exports[`InsightsSettings actions should generate INSIGHTS_SYNC_SETTING_SET action 1`] = `
Array [
  Array [
    Object {
      "payload": Object {
        "settings": Object {
          "insightsSyncEnabled": true,
        },
      },
      "type": "INSIGHTS_SYNC_SETTING_SET",
    },
  ],
]
`;

exports[`InsightsSettings actions should generate INSIGHTS_SYNC_SETTINGS_GET_SUCCESS action 1`] = `
Array [
  Array [
    Object {
      "payload": Object {
        "settings": Object {
          "insightsSyncEnabled": true,
        },
      },
      "type": "INSIGHTS_SYNC_SETTINGS_GET_SUCCESS",
    },
  ],
]
`;

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

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

Version data entries

102 entries across 102 versions & 1 rubygems

Version Path
foreman_rh_cloud-1.0.13 webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/__snapshots__/InsightsSettingsActions.test.js.snap
foreman_rh_cloud-2.0.13 webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/__snapshots__/InsightsSettingsActions.test.js.snap