Sha256: f9e7a5be89b808cb6a003423a7c1571bca16eea14ee896a88fac42315e1ee366

Contents?: true

Size: 588 Bytes

Versions: 10

Compression:

Stored size: 588 Bytes

Contents

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

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,
      per_page: 20,
    },
  },
};

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

Version data entries

10 entries across 10 versions & 1 rubygems

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