Sha256: cda5c230c52921282a6e8dc6cd731069256abc9618f28b38f8fc1cb5337ea258

Contents?: true

Size: 929 Bytes

Versions: 24

Compression:

Stored size: 929 Bytes

Contents

import { noop } from 'patternfly-react';

export const pollingProcessID = 1;

export const logs = ['some-logs...'];

export const completed = 25;

export const error = 'some-error';

export const generating = {
  logs,
  completed,
};

export const uploading = {
  logs,
  completed,
  files,
};

export const inventory = {
  generating,
  uploading,
};

export const accountID = 'some-account-ID';

export const exitCode = 0;

export const files = ['some-file'];

export const activeTab = 'uploads';

export const scheduled = '2019-08-21T16:14:16.520+03:00';

export const serverMock = {
  data: { output: 'some-logs\nsome-logs', status: exitCode, scheduled },
};

export const initialState = {};

export const props = {
  accountID,
  uploading: {},
  generating: {},
  startPolling: noop,
  fetchLogs: noop,
  stopPolling: noop,
  setActiveTab: noop,
  restartProcess: noop,
  downloadReports: noop,
  pollingProcessID: 0,
};

Version data entries

24 entries across 24 versions & 2 rubygems

Version Path
foreman_rh_cloud-2.0.18.1 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_rh_cloud-2.0.18 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_rh_cloud-2.0.17 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_rh_cloud-3.0.17 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_rh_cloud-2.0.16 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_rh_cloud-3.0.16 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_rh_cloud-2.0.15 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_rh_cloud-3.0.15 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_rh_cloud-3.0.14 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_rh_cloud-2.0.14 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_rh_cloud-2.0.13.1 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_rh_cloud-2.0.13 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_rh_cloud-2.0.12 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_rh_cloud-2.0.11 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_rh_cloud-2.0.10 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_rh_cloud-2.0.9 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_rh_cloud-2.0.8 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_rh_cloud-2.0.7 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_rh_cloud-2.0.6 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_rh_cloud-2.0.5 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js