Sha256: 012b8f8fd999abe9c7abf30a49cbe09635032f83f86fcf68f0bbd9adc5c3949e

Contents?: true

Size: 1.73 KB

Versions: 9

Compression:

Stored size: 1.73 KB

Contents

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

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

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",
    },
  },
  "autoUploadEnabled": true,
  "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

9 entries across 9 versions & 1 rubygems

Version Path
foreman_rh_cloud-0.9.7 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap
foreman_rh_cloud-1.0.7 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap
foreman_rh_cloud-2.0.7 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap
foreman_rh_cloud-0.9.6 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap
foreman_rh_cloud-1.0.6 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap
foreman_rh_cloud-2.0.6 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap
foreman_rh_cloud-0.9.5 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap
foreman_rh_cloud-1.0.5 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap
foreman_rh_cloud-2.0.5 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap