Sha256: 944c703f4c83f95a5071462d684de7e0c95cf4988df89a1f38f73cfe37cd582f

Contents?: true

Size: 940 Bytes

Versions: 81

Compression:

Stored size: 940 Bytes

Contents

import { noop } from 'foremanReact/common/helpers';

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

81 entries across 81 versions & 1 rubygems

Version Path
foreman_rh_cloud-11.0.3 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_rh_cloud-9.0.59 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_rh_cloud-11.0.2 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_rh_cloud-11.0.1 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_rh_cloud-11.0.0 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_rh_cloud-9.0.58 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_rh_cloud-10.0.2 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_rh_cloud-9.0.57 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_rh_cloud-10.0.1 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_rh_cloud-9.0.56 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_rh_cloud-9.0.55 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_rh_cloud-9.0.54 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_rh_cloud-9.0.53 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_rh_cloud-9.0.52 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_rh_cloud-8.0.52 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_rh_cloud-9.0.51 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_rh_cloud-8.0.51 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_rh_cloud-7.0.48 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_rh_cloud-7.0.47 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_rh_cloud-8.0.50 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js