Sha256: 1af536884e67b325e9994cc99c42fed8943ee7ae69d34878905dacf68802d138

Contents?: true

Size: 1.53 KB

Versions: 15

Compression:

Stored size: 1.53 KB

Contents

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

exports[`AccountList reducer should handle INVENTORY_ACCOUNT_STATUS_POLLING 1`] = `
Object {
  "accounts": Object {
    "Account1": Object {
      "generate_report_status": "running",
      "label": "test_org1",
      "upload_report_status": "running",
    },
    "Account2": Object {
      "generate_report_status": "failure",
      "label": "test_org2",
      "upload_report_status": "unknown",
    },
    "Account3": Object {
      "generate_report_status": "running",
      "label": "test_org3",
      "upload_report_status": "success",
    },
  },
  "error": null,
  "pollingProcessID": 0,
}
`;

exports[`AccountList reducer should handle INVENTORY_ACCOUNT_STATUS_POLLING_ERROR 1`] = `
Object {
  "accounts": Object {},
  "error": "some-error",
  "pollingProcessID": 0,
}
`;

exports[`AccountList reducer should handle INVENTORY_ACCOUNT_STATUS_POLLING_START 1`] = `
Object {
  "accounts": Object {},
  "error": null,
  "pollingProcessID": 0,
}
`;

exports[`AccountList reducer should handle INVENTORY_ACCOUNT_STATUS_POLLING_STOP 1`] = `
Object {
  "accounts": Object {},
  "error": null,
  "pollingProcessID": 0,
}
`;

exports[`AccountList reducer should handle INVENTORY_PROCESS_RESTART 1`] = `
Object {
  "accounts": Object {
    "user@redhat.com": Object {
      "upload_report_status": "Restarting...",
    },
  },
  "error": null,
  "pollingProcessID": 0,
}
`;

exports[`AccountList reducer should return the initial state 1`] = `
Object {
  "accounts": Object {},
  "error": null,
  "pollingProcessID": 0,
}
`;

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
foreman_rh_cloud-0.9.4.1 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap
foreman_rh_cloud-1.0.4.1 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap
foreman_rh_cloud-1.0.4 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap
foreman_rh_cloud-2.0.4 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap
foreman_rh_cloud-0.9.4 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap
foreman_inventory_upload-2.0.4.pre.2 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap
foreman_inventory_upload-2.0.4.pre.1 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap
foreman_inventory_upload-2.0.3 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap
foreman_inventory_upload-1.0.3 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap
foreman_inventory_upload-0.9.2 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap
foreman_inventory_upload-1.0.2 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap
foreman_inventory_upload-0.9.1 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap
foreman_inventory_upload-1.0.1 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap
foreman_inventory_upload-0.9.0 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap
foreman_inventory_upload-1.0.0 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap