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.4 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_inventory_upload-2.0.4.pre.2 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_inventory_upload-2.0.4.pre.1 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
foreman_inventory_upload-2.0.3 webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js