Sha256: e063189044396914f4be4b8d1b57d64aab17f134d33d18366d1a015e74eac50b

Contents?: true

Size: 563 Bytes

Versions: 10

Compression:

Stored size: 563 Bytes

Contents

import { testComponentSnapshotsWithFixtures } from '@theforeman/test';

import SyncTypeRadios from '../SyncTypeRadios';

const noop = () => {};

const fixtures = {
  'should render': {
    controlLabel: 'Test radios',
    name: 'radios',
    radios: [
      { label: 'A', checked: false, value: 'a', onChange: noop },
      { label: 'B', checked: true, value: 'b', onChange: noop },
      { label: 'C', checked: false, value: 'c', onChange: noop },
    ],
  },
};

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
foreman_templates-10.0.2 webpack/components/NewTemplateSync/components/__tests__/SyncTypeRadios.test.js
foreman_templates-10.0.1 webpack/components/NewTemplateSync/components/__tests__/SyncTypeRadios.test.js
foreman_templates-10.0.0 webpack/components/NewTemplateSync/components/__tests__/SyncTypeRadios.test.js
foreman_templates-9.5.1 webpack/components/NewTemplateSync/components/__tests__/SyncTypeRadios.test.js
foreman_templates-9.5.0 webpack/components/NewTemplateSync/components/__tests__/SyncTypeRadios.test.js
foreman_templates-9.3.3 webpack/components/NewTemplateSync/components/__tests__/SyncTypeRadios.test.js
foreman_templates-9.3.2 webpack/components/NewTemplateSync/components/__tests__/SyncTypeRadios.test.js
foreman_templates-9.3.1 webpack/components/NewTemplateSync/components/__tests__/SyncTypeRadios.test.js
foreman_templates-9.4.0 webpack/components/NewTemplateSync/components/__tests__/SyncTypeRadios.test.js
foreman_templates-9.3.0 webpack/components/NewTemplateSync/components/__tests__/SyncTypeRadios.test.js