Sha256: b55a09741b1c9bd4dde912d24ac9711ae96ead42903c35aefb85261c5ed10f3b

Contents?: true

Size: 593 Bytes

Versions: 11

Compression:

Stored size: 593 Bytes

Contents

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

import SyncResultList from '../SyncResultList';
import { importTemplates } from '../../__fixtures__/templateSyncResult.fixtures';

const noop = () => {};

const editPaths = {
  JobTemplate: '',
  Ptable: '',
  ProvisioningTemplate: '',
};

const fixtures = {
  'should render': {
    pageChange: noop,
    templates: importTemplates,
    editPaths,
    pagination: {
      page: 1,
      perPage: 20,
    },
  },
};

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
foreman_templates-9.1.0 webpack/components/TemplateSyncResult/components/__tests__/SyncResultList.test.js
foreman_templates-9.0.2 webpack/components/TemplateSyncResult/components/__tests__/SyncResultList.test.js
foreman_templates-9.0.1 webpack/components/TemplateSyncResult/components/__tests__/SyncResultList.test.js
foreman_templates-9.0.0 webpack/components/TemplateSyncResult/components/__tests__/SyncResultList.test.js
foreman_templates-7.0.7 webpack/components/TemplateSyncResult/components/__tests__/SyncResultList.test.js
foreman_templates-8.0.0 webpack/components/TemplateSyncResult/components/__tests__/SyncResultList.test.js
foreman_templates-7.0.6 webpack/components/TemplateSyncResult/components/__tests__/SyncResultList.test.js
foreman_templates-7.0.5 webpack/components/TemplateSyncResult/components/__tests__/SyncResultList.test.js
foreman_templates-7.0.4 webpack/components/TemplateSyncResult/components/__tests__/SyncResultList.test.js
foreman_templates-7.0.3 webpack/components/TemplateSyncResult/components/__tests__/SyncResultList.test.js
foreman_templates-7.0.2 webpack/components/TemplateSyncResult/components/__tests__/SyncResultList.test.js