Sha256: ca9ddc52ff8649d3e8f91948d25e075eae3fb9d5146ab55d099ef1f2adb078a7

Contents?: true

Size: 551 Bytes

Versions: 39

Compression:

Stored size: 551 Bytes

Contents

import { testComponentSnapshotsWithFixtures } from '@theforeman/test';
import { noop } from 'foremanReact/common/helpers';
import InsightsCloudSync from './InsightsCloudSync';

const fixtures = {
  render: {
    status: 'RESOLVED',
    syncInsights: noop,
    fetchInsights: noop,
    query: '',
    hasToken: true,
  },
  'render no token': {
    status: 'RESOLVED',
    syncInsights: noop,
    fetchInsights: noop,
    hasToken: false,
  },
};

describe('InsightsCloudSync', () =>
  testComponentSnapshotsWithFixtures(InsightsCloudSync, fixtures));

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
foreman_rh_cloud-4.0.36 webpack/InsightsCloudSync/InsightsCloudSync.test.js
foreman_rh_cloud-3.0.33 webpack/InsightsCloudSync/InsightsCloudSync.test.js
foreman_rh_cloud-4.0.35 webpack/InsightsCloudSync/InsightsCloudSync.test.js
foreman_rh_cloud-5.0.35 webpack/InsightsCloudSync/InsightsCloudSync.test.js
foreman_rh_cloud-5.0.34 webpack/InsightsCloudSync/InsightsCloudSync.test.js
foreman_rh_cloud-5.0.33 webpack/InsightsCloudSync/InsightsCloudSync.test.js
foreman_rh_cloud-3.0.32 webpack/InsightsCloudSync/InsightsCloudSync.test.js
foreman_rh_cloud-4.0.32 webpack/InsightsCloudSync/InsightsCloudSync.test.js
foreman_rh_cloud-5.0.32 webpack/InsightsCloudSync/InsightsCloudSync.test.js
foreman_rh_cloud-4.0.31 webpack/InsightsCloudSync/InsightsCloudSync.test.js
foreman_rh_cloud-5.0.31 webpack/InsightsCloudSync/InsightsCloudSync.test.js
foreman_rh_cloud-5.0.30 webpack/InsightsCloudSync/InsightsCloudSync.test.js
foreman_rh_cloud-4.0.30 webpack/InsightsCloudSync/InsightsCloudSync.test.js
foreman_rh_cloud-3.0.29 webpack/InsightsCloudSync/InsightsCloudSync.test.js
foreman_rh_cloud-4.0.29 webpack/InsightsCloudSync/InsightsCloudSync.test.js
foreman_rh_cloud-5.0.29 webpack/InsightsCloudSync/InsightsCloudSync.test.js
foreman_rh_cloud-3.0.28 webpack/InsightsCloudSync/InsightsCloudSync.test.js
foreman_rh_cloud-5.0.28 webpack/InsightsCloudSync/InsightsCloudSync.test.js
foreman_rh_cloud-4.0.27 webpack/InsightsCloudSync/InsightsCloudSync.test.js
foreman_rh_cloud-3.0.26 webpack/InsightsCloudSync/InsightsCloudSync.test.js