Sha256: 24ecb540287c9bb236d4e3a3f36f4098f02e7f13746f1fa3e74882a5526e23a6

Contents?: true

Size: 608 Bytes

Versions: 164

Compression:

Stored size: 608 Bytes

Contents

import { testComponentSnapshotsWithFixtures } from 'react-redux-test-utils';
import OptionTooltip from '../';

const onClose = () => {};
const options = [
  {
    key: 'option1',
    value: true,
    label: 'One',
  },
  {
    key: 'option2',
    value: false,
    label: 'Two',
  },
];

const fixtures = {
  'renders ': {
    icon: 'test',
    id: 'test',
    options: [],
    onClose,
  },
  'renders a list of options with default values ': {
    icon: 'test',
    id: 'test',
    options,
    onClose,
  },
};
describe('OptionTooltip', () => testComponentSnapshotsWithFixtures(OptionTooltip, fixtures));

Version data entries

164 entries across 164 versions & 1 rubygems

Version Path
katello-4.10.0 webpack/components/OptionTooltip/__tests__/OptionTooltip.test.js
katello-4.9.2 webpack/components/OptionTooltip/__tests__/OptionTooltip.test.js
katello-4.10.0.rc2 webpack/components/OptionTooltip/__tests__/OptionTooltip.test.js
katello-4.10.0.rc1 webpack/components/OptionTooltip/__tests__/OptionTooltip.test.js
katello-4.8.4 webpack/components/OptionTooltip/__tests__/OptionTooltip.test.js
katello-4.9.1 webpack/components/OptionTooltip/__tests__/OptionTooltip.test.js
katello-4.8.3 webpack/components/OptionTooltip/__tests__/OptionTooltip.test.js
katello-4.9.0 webpack/components/OptionTooltip/__tests__/OptionTooltip.test.js
katello-4.7.6 webpack/components/OptionTooltip/__tests__/OptionTooltip.test.js
katello-4.8.2 webpack/components/OptionTooltip/__tests__/OptionTooltip.test.js
katello-4.9.0.rc2 webpack/components/OptionTooltip/__tests__/OptionTooltip.test.js
katello-4.9.0.rc1 webpack/components/OptionTooltip/__tests__/OptionTooltip.test.js
katello-4.8.1 webpack/components/OptionTooltip/__tests__/OptionTooltip.test.js
katello-4.7.5 webpack/components/OptionTooltip/__tests__/OptionTooltip.test.js
katello-4.8.0 webpack/components/OptionTooltip/__tests__/OptionTooltip.test.js
katello-4.8.0.rc2 webpack/components/OptionTooltip/__tests__/OptionTooltip.test.js
katello-4.7.4 webpack/components/OptionTooltip/__tests__/OptionTooltip.test.js
katello-4.8.0.rc1 webpack/components/OptionTooltip/__tests__/OptionTooltip.test.js
katello-4.7.3 webpack/components/OptionTooltip/__tests__/OptionTooltip.test.js
katello-4.7.2 webpack/components/OptionTooltip/__tests__/OptionTooltip.test.js