Sha256: 70a3a0e6cd4f56f5746b78eb52f5008f0189dfa2a86ec519e16246b19bd6d17f

Contents?: true

Size: 540 Bytes

Versions: 3

Compression:

Stored size: 540 Bytes

Contents

import { testComponentSnapshotsWithFixtures } from '@theforeman/test';
import { noop } from 'patternfly-react';
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

3 entries across 3 versions & 1 rubygems

Version Path
foreman_rh_cloud-3.0.17 webpack/InsightsCloudSync/InsightsCloudSync.test.js
foreman_rh_cloud-3.0.16 webpack/InsightsCloudSync/InsightsCloudSync.test.js
foreman_rh_cloud-3.0.15 webpack/InsightsCloudSync/InsightsCloudSync.test.js