Sha256: ab00c2c81ba0b1eb2686322061a500e53572d0f9e8396248bfd3eaf06cedcf49

Contents?: true

Size: 1.45 KB

Versions: 6

Compression:

Stored size: 1.45 KB

Contents

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

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

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

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

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

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

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
foreman_inventory_upload-1.0.0.beta7 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap
foreman_inventory_upload-1.0.0.beta6 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap
foreman_inventory_upload-1.0.0.beta5 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap
foreman_inventory_upload-1.0.0.beta4 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap
foreman_inventory_upload-1.0.0.beta3 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap
foreman_inventory_upload-1.0.0.beta2 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap