Sha256: f4fa329a817f5d539c96b0bbc2dac8c29dfa7b66898512c818dc873370c0be2c

Contents?: true

Size: 1.95 KB

Versions: 6

Compression:

Stored size: 1.95 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 HOST_OBFUSCATION_TOGGLE 1`] = `
Object {
  "accounts": Object {},
  "error": null,
  "hostObfuscationEnabled": true,
  "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,
  "hostObfuscationEnabled": true,
  "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

6 entries across 6 versions & 1 rubygems

Version Path
foreman_rh_cloud-2.0.9 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap
foreman_rh_cloud-1.0.9 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap
foreman_rh_cloud-0.9.9 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap
foreman_rh_cloud-0.9.8 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap
foreman_rh_cloud-1.0.8 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap
foreman_rh_cloud-2.0.8 webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap